Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
refactor tests based on pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
samelamin committed Dec 20, 2022
1 parent ba287fa commit c7ace8b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
5 changes: 5 additions & 0 deletions zombienet/tests/0007-full_node_warp_sync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ bob: is up
charlie: is up
dave: is up
eve: is up
ferdie: is up
george: is up
george: pause
alice: parachain 2000 is registered within 225 seconds
dave: reports block height is at least 7 within 250 seconds
eve: reports block height is at least 7 within 250 seconds
george: resume
george: reports block height is at least 7 within 250 seconds
20 changes: 19 additions & 1 deletion zombienet/tests/0007-full_node_warp_sync.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,30 @@ cumulus_based = true
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--sync warp"]
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}"]

# run cumulus eve (a parachain full node) and wait for it to sync some blocks
[[parachains.collators]]
name = "eve"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--relay-chain-rpc-url {{'alice'|zombie('wsUri')}}"]

# run cumulus ferdie (a parachain full node) and wait for it to sync some blocks
[[parachains.collators]]
name = "ferdie"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--relay-chain-rpc-url {{'alice'|zombie('wsUri')}}"]


# run cumulus george (a parachain full node) and wait for it to sync some blocks
[[parachains.collators]]
name = "george"
validator = false
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--relay-chain-rpc-url {{'alice'|zombie('wsUri')}}", "--sync warp"]

0 comments on commit c7ace8b

Please sign in to comment.