Adjust zombienet test resources and logic (#4032)

One more try to make this test robust from a resource perspective.

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
Andrei Sandu
2024-04-12 13:08:34 +03:00
committed by GitHub
parent 033484c3ba
commit 13ca339e4a
4 changed files with 20 additions and 11 deletions
@@ -20,8 +20,8 @@ chain = "rococo-local"
default_command = "polkadot"
[relaychain.default_resources]
limits = { memory = "4G", cpu = "2" }
requests = { memory = "2G", cpu = "1" }
limits = { memory = "4G", cpu = "3" }
requests = { memory = "4G", cpu = "3" }
[[relaychain.node_groups]]
name = "elastic-validator"
@@ -32,11 +32,20 @@ default_command = "polkadot"
[[parachains]]
id = {{id}}
addToGenesis = true
[parachains.default_resources]
limits = { memory = "4G", cpu = "3" }
requests = { memory = "4G", cpu = "3" }
[parachains.collator]
name = "some-parachain"
image = "{{COL_IMAGE}}"
command = "adder-collator"
args = ["-lparachain::collation-generation=trace,parachain::collator-protocol=trace,parachain=debug"]
{% endfor %}
# This represents the layout of the adder collator block header.
[types.Header]
number = "u64"
parent_hash = "Hash"
post_state = "Hash"