libp2p-test-plans/dht/compositions/find-peers.example.toml

43 lines
998 B
TOML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## THIS IS AN EXAMPLE COMPOSITION
##
## It performs a run of the dht/find-peers test case, with 100 instances:
##
##  * 10 of them are boostrappers, with upstream dependency overrides.
## * 45% are DHT clients.
## * 45% are DHT servers.
##
[metadata]
name = "find-peers-01"
author = "raulk"
[global]
plan = "dht"
case = "find-peers"
builder = "exec:go"
runner = "local:exec"
total_instances = 50
[[groups]]
id = "bootstrappers"
instances = { count = 1 }
[groups.build]
selectors = ["foo"]
dependencies = [
{ module = "github.com/libp2p/go-libp2p-kad-dht", version = "995fee9e5345fdd7c151a5fe871252262db4e788"},
{ module = "github.com/libp2p/go-libp2p", version = "76944c4fc848530530f6be36fb22b70431ca506c"},
]
[groups.run]
test_params = { random_walk = "true", n_bootstrap = "1" }
[[groups]]
id = "peers"
instances = { count = 49 }
[groups.run]
test_params = { random_walk = "true", n_bootstrap = "1" }
[groups.build]
selectors = ["bar", "bee"]