Fix intermittent node.bootstrap_bulk_push failure (#3062)
This commit is contained in:
parent
1c5b940795
commit
bba21df317
1 changed files with 6 additions and 1 deletions
|
@ -1920,7 +1920,12 @@ TEST (node, bootstrap_bulk_push)
|
|||
ASSERT_NO_ERROR (system1.poll ());
|
||||
}
|
||||
// since this uses bulk_push, the new block should be republished
|
||||
ASSERT_FALSE (node1->active.empty ());
|
||||
system1.deadline_set (10s);
|
||||
while (node1->active.empty ())
|
||||
{
|
||||
ASSERT_NO_ERROR (system0.poll ());
|
||||
ASSERT_NO_ERROR (system1.poll ());
|
||||
}
|
||||
}
|
||||
|
||||
// Bootstrapping a forked open block should succeed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue