Skip to content

Commit 0145fbb

Browse files
michalkucharczykgithub-actions[bot]
authored andcommitted
Fix flaxy 0003-block-building-warp-sync test (#8882)
Fixes: #8868 The error skipped in log is acceptable, the announced block does not have the parent imported yet. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a9cb596 commit 0145fbb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

prdoc/pr_8882.prdoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: Fix flaxy `0003-block-building-warp-sync` test
2+
doc:
3+
- audience: Node Dev
4+
description: |-
5+
Fixes: https://github.com/paritytech/polkadot-sdk/issues/8868
6+
7+
The error skipped in log is acceptable, the announced block does not have the parent imported yet.
8+
crates: []

substrate/zombienet/0003-block-building-warp-sync/test-block-building-warp-sync.zndsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ dave: log line matches "Block history download is complete" within 10 seconds
3434
dave: reports substrate_beefy_best_block is at least {{DB_BLOCK_HEIGHT}} within 180 seconds
3535
dave: reports substrate_beefy_best_block is greater than {{DB_BLOCK_HEIGHT}} within 60 seconds
3636

37-
dave: count of log lines containing "error" is 0 within 10 seconds
37+
# The block history download runs in the background while the fresh blocks are imported. This error can pop out in the log and is acceptable: the freshly announced block may not have the parent imported yet.
38+
dave: count of log lines containing "error(?! importing block .*: block has an unknown parent)" is 0 within 10 seconds
3839
dave: count of log lines containing "verification failed" is 0 within 10 seconds

0 commit comments

Comments
 (0)