Categorygithub.com/ChainSafe/dht-test-plan
repositorypackage
0.0.0-20221114153429-77a730a0ca4a
Repository: https://github.com/chainsafe/dht-test-plan.git
Documentation: pkg.go.dev

# README

dht-test-plan

This repo contains a (wip) test plan for use with testground that tests the content routing functionality of go-libp2p-kad-dht.

Requirements

  • go 1.19
  • testground - follow install instructions in readme

Usage

Once testground is installed, run testground daemon in one terminal.

Then:

git clone https://github.com/ChainSafe/dht-test-plan.git
testground plan import --from ./dht-test-plan
cd dht-test-plan
testground run single --plan=dht-test-plan --testcase=find-providers --builder=docker:go --runner=local:docker --instances=1 --wait