mirror of
https://github.com/wownero/wownero.git
synced 2026-10-20 17:08:35 +02:00
Transition asio::deadline_timer to asio::steady_timer
This commit is contained in:
@@ -690,7 +690,7 @@ TEST(cryptonote_protocol_handler, race_condition)
|
||||
net_node.core_protocol->process_payload_sync_data(msg.payload_data, context, true);
|
||||
handshaked.raise();
|
||||
},
|
||||
P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT
|
||||
std::chrono::milliseconds{P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT}
|
||||
);
|
||||
return true;
|
||||
}
|
||||
@@ -1202,7 +1202,7 @@ TEST(node_server, race_condition)
|
||||
EXPECT_TRUE(code >= 0);
|
||||
handshaked.raise();
|
||||
},
|
||||
P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT
|
||||
std::chrono::milliseconds{P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT}
|
||||
);
|
||||
handshaked.wait();
|
||||
boost::asio::post(conn->strand_, [conn]{
|
||||
|
||||
Reference in New Issue
Block a user