Raúl Kripalani 4d4f24ad8f
migrate dht test plan from testground/testground. (#1)
* migrate dht test plan from testground/testground.

* dht: update module and import paths.

* rm redundant scripts; rm redundant line in manifest.
2020-04-22 17:47:58 +01:00

21 lines
464 B
Go

package main
import (
test "github.com/libp2p/test-plans/dht/test"
"github.com/testground/sdk-go/runtime"
)
var testCases = map[string]runtime.TestCaseFn{
"find-peers": test.FindPeers,
"find-providers": test.FindProviders,
"provide-stress": test.ProvideStress,
"store-get-value": test.StoreGetValue,
"get-closest-peers": test.GetClosestPeers,
"bootstrap-network": test.BootstrapNetwork,
"all": test.All,
}
func main() {
runtime.InvokeMap(testCases)
}