diff --git a/nano/core_test/websocket.cpp b/nano/core_test/websocket.cpp index 100df8c5..889a9bc6 100644 --- a/nano/core_test/websocket.cpp +++ b/nano/core_test/websocket.cpp @@ -724,7 +724,7 @@ TEST (websocket, bootstrap) // Start bootstrap attempt node1->bootstrap_initiator.bootstrap (true, "123abc"); - ASSERT_NE (nullptr, node1->bootstrap_initiator.current_attempt ()); + ASSERT_TIMELY (5s, nullptr == node1->bootstrap_initiator.current_attempt ()); // Wait for the bootstrap notification ASSERT_TIMELY (5s, future.wait_for (0s) == std::future_status::ready);