mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
[Zombienet] test deregister validator (#5718)
* Update metric name and doc Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * add test and rename metric to use * change within time for test * Update .gitlab-ci.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> * Update .gitlab-ci.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> * Properly format the stash account Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Update test Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * change metric name * Bump quote from 1.0.19 to 1.0.20 (#5736) Bumps [quote](https://github.com/dtolnay/quote) from 1.0.19 to 1.0.20. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.19...1.0.20) --- updated-dependencies: - dependency-name: quote dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * backport minimum weight to fee to master (#5739) * propose fix fees * add tests to kusama runtime as well * better tests * last change * last update * Fix test * ignore tests again * staking-miner: CLI flag delay solution x secs (#5734) * staking-miner: CLI flag delay solution x secs * Update utils/staking-miner/src/monitor.rs * Update utils/staking-miner/src/opts.rs * more logging * add more verbose logging * Update utils/staking-miner/src/opts.rs Co-authored-by: David <dvdplm@gmail.com> * Update utils/staking-miner/src/opts.rs Co-authored-by: David <dvdplm@gmail.com> * remove redundant check Co-authored-by: David <dvdplm@gmail.com> * fix(staking miner): check latest state in solution (#5744) * bump zombienet version and fix test * Update zombienet_tests/smoke/0003-deregister-register-validator-smoke.toml Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Update zombienet_tests/smoke/0003-deregister-register-validator.js Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: David <dvdplm@gmail.com> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Description: Deregister / Register Validator Smoke
|
||||
Network: ./0003-deregister-register-validator-smoke.toml
|
||||
Creds: config
|
||||
|
||||
alice: is up
|
||||
bob: is up
|
||||
charlie: is up
|
||||
dave: is up
|
||||
|
||||
# ensure is in the validator set
|
||||
dave: reports polkadot_node_is_parachain_validator is 1 within 240 secs
|
||||
dave: reports polkadot_node_is_active_validator is 1 within 240 secs
|
||||
|
||||
# deregister and check
|
||||
alice: js-script ./0003-deregister-register-validator.js with "deregister,dave" return is 0 within 30 secs
|
||||
|
||||
# Wait 2 sessions. The authority set change is enacted at curent_session + 2.
|
||||
sleep 120 seconds
|
||||
dave: reports polkadot_node_is_parachain_validator is 0 within 180 secs
|
||||
dave: reports polkadot_node_is_active_validator is 0 within 180 secs
|
||||
|
||||
# register and check
|
||||
alice: js-script ./0003-deregister-register-validator.js with "register,dave" return is 0 within 30 secs
|
||||
|
||||
# Wait 2 sessions. The authority set change is enacted at curent_session + 2.
|
||||
sleep 120 seconds
|
||||
dave: reports polkadot_node_is_parachain_validator is 1 within 180 secs
|
||||
dave: reports polkadot_node_is_active_validator is 1 within 180 secs
|
||||
Reference in New Issue
Block a user