libp2p-test-plans/pubsub/nim/manifest.toml
2022-12-23 11:37:02 +01:00

26 lines
1.2 KiB
TOML

name = "pubsub-nim"
[defaults]
builder = "docker:generic"
runner = "local:docker"
[builders."docker:generic"]
enabled = true
[runners."local:docker"]
enabled = true
[[testcases]]
name = "pubsub"
instances = { min = 2, max = 100000, default = 20 }
[testcases.params]
connection_count = { type = "int", desc = "number of connections per node", unit = "nodes", default = 20 }
publisher_count = { type = "int", desc = "number of nodes publishing", unit = "nodes", default = 20 }
attacker_count = { type = "int", desc = "number of nodes trying to swallow messages", unit = "nodes", default = 0 }
attack_after = { type = "int", desc = "start the attack after receiving N seconds", unit = "s", default = 0 }
message_count = { type = "int", desc = "number of messages to send per publisher", unit = "msg", default = 20 }
warmup_messages = { type = "int", desc = "empty messages to send before test", unit = "msg", default = 10 }
max_message_delay = { type = "int", desc = "max delay between messages per publisher", unit = "ms", default = 500 }
outbound_only = { type = "int", desc = "number of nodes without incoming connections", unit = "nodes", default = 0 }