diff --git a/nano/core_test/node.cpp b/nano/core_test/node.cpp index 21cf1223..dd41c021 100644 --- a/nano/core_test/node.cpp +++ b/nano/core_test/node.cpp @@ -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.