Skip to content

Commit

Permalink
Stabilize elastic-pov-recovery zombienet test (#6076)
Browse files Browse the repository at this point in the history
We should start the `recovery-target` node first, then the
`collator-elastic` node. Also increases the resources available to these
pods.
  • Loading branch information
skunert authored Oct 16, 2024
1 parent 38aa4b7 commit 2c41656
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions cumulus/zombienet/tests/0009-elastic_pov_recovery.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[settings]
timeout = 1000

[relaychain.default_resources]
limits = { memory = "4G", cpu = "2" }
requests = { memory = "2G", cpu = "1" }

[parachain.default_resources]
limits = { memory = "4G", cpu = "2" }
requests = { memory = "2G", cpu = "1" }

[relaychain.genesis.runtimeGenesis.patch.configuration.config.async_backing_params]
max_candidate_depth = 6
allowed_ancestry_len = 3
Expand All @@ -23,7 +31,11 @@ command = "polkadot"

[[relaychain.node_groups]]
name = "validator"
args = ["-lruntime=debug,parachain=trace", "--reserved-only", "--reserved-nodes {{'alice'|zombie('multiAddress')}}"]
args = [
"-lruntime=debug,parachain=trace",
"--reserved-only",
"--reserved-nodes {{'alice'|zombie('multiAddress')}}"
]
count = 8

# Slot based authoring with 3 cores and 2s slot duration
Expand All @@ -32,17 +44,29 @@ id = 2100
chain = "elastic-scaling"
add_to_genesis = false

# Slot based authoring with 3 cores and 2s slot duration
# run 'recovery-target' as a parachain full node
[[parachains.collators]]
name = "collator-elastic"
name = "recovery-target"
validator = false # full node
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["--disable-block-announcements", "-laura=trace,runtime=info,cumulus-consensus=trace,consensus::common=trace,parachain::collation-generation=trace,parachain::collator-protocol=trace,parachain=debug", "--force-authoring", "--experimental-use-slot-based"]
args = [
"-lparachain::availability=trace,sync=debug,parachain=debug,cumulus-pov-recovery=debug,cumulus-consensus=debug",
"--disable-block-announcements",
"--in-peers 0",
"--out-peers 0",
"--",
"--reserved-only",
"--reserved-nodes {{'alice'|zombie('multiAddress')}}"]

# run 'recovery-target' as a parachain full node
# Slot based authoring with 3 cores and 2s slot duration
[[parachains.collators]]
name = "recovery-target"
validator = false # full node
name = "collator-elastic"
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain::availability=trace,sync=debug,parachain=debug,cumulus-pov-recovery=debug,cumulus-consensus=debug", "--disable-block-announcements", "--bootnodes {{'collator-elastic'|zombie('multiAddress')}}", "--in-peers 0", "--out-peers 0", "--", "--reserved-only", "--reserved-nodes {{'alice'|zombie('multiAddress')}}"]
args = [
"-laura=trace,runtime=info,cumulus-consensus=trace,consensus::common=trace,parachain::collation-generation=trace,parachain::collator-protocol=trace,parachain=debug",
"--disable-block-announcements",
"--force-authoring",
"--experimental-use-slot-based"
]

0 comments on commit 2c41656

Please sign in to comment.