mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
Zombienet add tests (#1321)
* changes to read json spec in test binary
* add zombienet tests
* fmt
* use {{COL_IMAGE}} and clean config
* add comment and use relay image from env
* use test-parachain image from pr
* fix warns
* fix warns
* fmt
* typo
* fix ci to use zombienet image
* fix spawn nodes for test
* reorg test
* add within to test
* remove check for full node collators is up
* add tests for pov, mirate solo to para, sync blocks
* bump zombienet image
* add job dep with artifacts
* add sleep for test
* fix after merge
* fmt
* bump zombienet version
* changes from clap
* use base/shared params
* fmt
* debug ci
* add upgrade test
* update js test for debug
* less debug in test
* print assertion
* fix upgrade test
* Collator key only needed if we run as collator
* [Fix] Benchmark build artifact folder creation (#1518)
* Trivial networking changes for Substrate PR #11940 (#1486)
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940
* Apply formatting rules
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
* bump zombienet version
* update network def for test
* typo
Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
Co-authored-by: Nazar Mokrynskyi <nazar@mokrynskyi.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[relaychain]
|
||||
default_image = "docker.io/paritypr/polkadot-debug:master"
|
||||
default_image = "{{RELAY_IMAGE}}"
|
||||
default_command = "polkadot"
|
||||
default_args = [ "-lparachain=debug" ]
|
||||
|
||||
@@ -11,9 +11,7 @@ chain = "rococo-local"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob"
|
||||
image = "docker.io/paritypr/polkadot-debug:5236-0.9.18-c55660e9-be16bd72"
|
||||
validator = true
|
||||
args = ["--database=paritydb-experimental"]
|
||||
|
||||
[[parachains]]
|
||||
id = 2000
|
||||
@@ -23,8 +21,8 @@ cumulus_based = true
|
||||
[[parachains.collators]]
|
||||
name = "charlie"
|
||||
validator = true
|
||||
image = "docker.io/parity/polkadot-collator:latest"
|
||||
command = "test-collator"
|
||||
image = "{{COL_IMAGE}}"
|
||||
command = "test-parachain"
|
||||
args = ["-lparachain=debug"]
|
||||
|
||||
# Run dave as parachain collator and eve as parachain full node
|
||||
@@ -33,14 +31,14 @@ cumulus_based = true
|
||||
[[parachains.collators]]
|
||||
name = "dave"
|
||||
validator = true
|
||||
image = "docker.io/parity/polkadot-collator:latest"
|
||||
command = "test-collator"
|
||||
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie}}", "--use-null-consensus", "--disable-block-announcements"]
|
||||
image = "{{COL_IMAGE}}"
|
||||
command = "test-parachain"
|
||||
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--use-null-consensus", "--disable-block-announcements"]
|
||||
|
||||
# run eve as parachain full node that is only connected to dave
|
||||
[[parachains.collators]]
|
||||
name = "eve"
|
||||
validator = false
|
||||
image = "docker.io/parity/polkadot-collator:latest"
|
||||
command = "test-collator"
|
||||
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie}}", "--use-null-consensus", "--disable-block-announcements"]
|
||||
image = "{{COL_IMAGE}}"
|
||||
command = "test-parachain"
|
||||
args = ["--reserved-only", "--reserved-nodes {{'charlie'|zombie('multiAddress')}}", "--use-null-consensus", "--disable-block-announcements"]
|
||||
|
||||
Reference in New Issue
Block a user