Skip to content
Snippets Groups Projects
Commit 39e55ffd authored by Nikos Kontakis's avatar Nikos Kontakis Committed by GitHub
Browse files

Rename zombienet extension (#6073)

* Rename extension files and respective entries from '.feature' to '.zndsl'

* Rename zombienet extension for 0001-dispute-valid-block test
parent 9196f32b
No related merge requests found
Showing
with 18 additions and 17 deletions
......@@ -13,8 +13,8 @@ The first argument determines the behavior strain. The currently supported are:
To define integration tests create file
in the toml format as used with [zombienet][zombienet]
under `./integrationtests` describing the network to spawn and
also the `feature` file (with `.feature` extension ) using the format
defined in the [DSL doc](https://github.com/paritytech/zombienet/blob/main/docs/testing-dsl-definition.md).
also the `zndsl` file (with `.zndsl` extension ) using the format
defined in the [(DSL[(**D**omain **S**pecific **L**anguage)]) doc](https://paritytech.github.io/zombienet/cli/test-dsl-definition-spec.html).
## Usage
......@@ -37,7 +37,7 @@ gcloud container clusters get-credentials "parity-zombienet" --zone "europe-west
# launching the actual test
cd zombienet
npm run build
node dist/cli.js test <path to polkadot repo>/node/malus/integrationtests/0001-dispute-valid-block.feature
node dist/cli.js test <path to polkadot repo>/node/malus/integrationtests/0001-dispute-valid-block.zndsl
# Access logs (in google cloud storage)
gsutil ls gs://zombienet-logs/zombie-<namespace uniqueId>/logs/
......
......@@ -26,7 +26,7 @@ zombienet-tests-parachains-smoke-test:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0001-parachains-smoke-test.feature"
--test="0001-parachains-smoke-test.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -56,7 +56,7 @@ zombienet-tests-parachains-pvf:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0001-parachains-pvf.feature"
--test="0001-parachains-pvf.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -87,7 +87,7 @@ zombienet-tests-parachains-disputes:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0002-parachains-disputes.feature"
--test="0002-parachains-disputes.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -118,7 +118,7 @@ zombienet-tests-parachains-disputes-garbage-candidate:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0003-parachains-garbage-candidate.feature"
--test="0003-parachains-garbage-candidate.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -148,7 +148,7 @@ zombienet-test-parachains-upgrade-smoke-test:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0002-parachains-upgrade-smoke-test.feature"
--test="0002-parachains-upgrade-smoke-test.zndsl"
allow_failure: true
retry: 2
tags:
......@@ -177,7 +177,7 @@ zombienet-tests-misc-paritydb:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0001-paritydb.feature"
--test="0001-paritydb.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -210,7 +210,7 @@ zombienet-tests-misc-upgrade-node:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0002-upgrade-node.feature"
--test="0002-upgrade-node.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -241,7 +241,7 @@ zombienet-tests-malus-dispute-valid:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0001-dispute-valid-block.feature"
--test="0001-dispute-valid-block.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -269,7 +269,7 @@ zombienet-tests-deregister-register-validator:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0003-deregister-register-validator-smoke.feature"
--test="0003-deregister-register-validator-smoke.zndsl"
allow_failure: false
retry: 2
tags:
......@@ -295,8 +295,8 @@ zombienet-tests-beefy-and-mmr:
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0003-beefy-and-mmr.feature"
--test="0003-beefy-and-mmr.zndsl"
allow_failure: true
retry: 2
tags:
- zombienet-polkadot-integration-test
\ No newline at end of file
- zombienet-polkadot-integration-test
......@@ -7,10 +7,11 @@ _The content of this directory is meant to be used by Parity's private CI/CD inf
`parachains`
At the moment this directory only have one test related to parachains: `/parachains-smoke-test`, that check the parachain registration and the block height.
## Resources (private)
## Resources
* [zombienet repo](https://github.com/paritytech/zombienet)
* [zombienet book](https://paritytech.github.io/zombienet/)
## Questions / permissions
Ping in element [Javier](@javier:matrix.parity.io) to ask questions or grant permission to run the test from your local setup.
Ping in element Javier (@javier:matrix.parity.io) to ask questions or grant permission to run the test from your local setup.
......@@ -11,7 +11,7 @@ mkdir -p $CFG_DIR
export PATH=$CFG_DIR:$PATH
cd $CFG_DIR
# see 0002-upgrade-node.feature to view the args.
# see 0002-upgrade-node.zndsl to view the args.
curl -L -O $1
chmod +x $CFG_DIR/polkadot
echo $(polkadot --version)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment