mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-12 07:44:27 +00:00
4d4f24ad8f
* migrate dht test plan from testground/testground. * dht: update module and import paths. * rm redundant scripts; rm redundant line in manifest.
21 lines
464 B
Go
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)
|
|
}
|