Skip to content
Snippets Groups Projects
Unverified Commit 3c7b9a0e authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

substrate/zombienet: Fix 0002-validators-warp-sync (#6379)


This PR fixes the `0002-validators-warp-sync` zombienet test by matching
for a specific error case.

The following PR introduced a new error for validators that don't have
public addresses available for publishing in the DHT:
- https://github.com/paritytech/polkadot-sdk/pull/6298
The log line was moved from `eprintln!("Warning: ...` in sc-cli to the
authority discovery where it is printed properly as an error.


cc @paritytech/sdk-node

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent ec77843c
No related merge requests found
Pipeline #504692 waiting for manual action with stages
in 16 minutes and 42 seconds
......@@ -35,7 +35,10 @@ bob: reports block height is at least {{DB_BLOCK_HEIGHT}} within 10 seconds
alice: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
bob: reports substrate_beefy_best_block is at least {{200*180/6}} within 180 seconds
alice: count of log lines containing "error" is 0 within 10 seconds
# Validators started without public addresses must emit an error.
# Double check the error is the expected one.
alice: log line matches "No public addresses configured and no global listen addresses found" within 60 seconds
alice: count of log lines containing "error" is 1 within 10 seconds
bob: count of log lines containing "verification failed" is 0 within 10 seconds
# new blocks were built
......
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