Files
pezkuwi-subxt/cumulus/zombienet/tests/0002-pov_recovery.feature
T
Sebastian Kunert 588bdad7f6 Add retry mechanism for pov-recovery, fix full-node pov-recovery (#2164)
* Increase delay for pov-recovery

* Update client/service/src/lib.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Comment

* FMT

* Clear waiting_recovery when block is recovered or recovery failed

* Introduce recovery queue that preserved insertion order

* Better error logs

* Decrease slot duration

* Style improvements

* Add option to use unordered queue

* Maintain cache of finalized blocks

* Wait for one relay chain slot before recovery

* Make retries testable

* fmt

* Improve docs

* Improve docs

* Simplify RecoveryQueue

* Remove unwanted changes

* Adjust to comments

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

* Move recovery delay into the queue

* Check for finalized number

* Clean up

* Use timer

Co-authored-by: Bastian Köcher <git@kchr.de>

* Simplify implementation

* Revert "Use timer"

This reverts commit 3809eed840d3a09d54212f99486782ff80cdc1c9.

* Properly clear `to_recover` flag

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
2023-02-09 14:18:55 +01:00

29 lines
972 B
Gherkin

Description: PoV recovery test
Network: ./0002-pov_recovery.toml
Creds: config
validator-0: is up
validator-1: is up
validator-2: is up
validator-3: is up
alice: is up within 60 seconds
bob: is up within 60 seconds
charlie: is up within 60 seconds
one: is up within 60 seconds
two: is up within 60 seconds
eve: is up within 60 seconds
# wait 20 blocks and register parachain
validator-3: reports block height is at least 20 within 250 seconds
validator-0: js-script ./register-para.js with "2000" within 240 seconds
validator-0: parachain 2000 is registered within 300 seconds
# check block production
bob: reports block height is at least 20 within 600 seconds
alice: reports block height is at least 20 within 600 seconds
charlie: reports block height is at least 20 within 600 seconds
one: reports block height is at least 20 within 800 seconds
two: reports block height is at least 20 within 800 seconds
eve: reports block height is at least 20 within 800 seconds