mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-27 23:25:20 +00:00
26 lines
1.2 KiB
TOML
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 }
|