Skip to content

Commit

Permalink
Improve receivable_processor.send_with_receive test (#1940)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiySW authored and Russel Waters committed May 6, 2019
1 parent 909e125 commit b3b368a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/core_test/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ TEST (receivable_processor, send_with_receive)
ASSERT_EQ (amount - system.nodes[0]->config.receive_minimum.number (), system.nodes[1]->balance (nano::test_genesis_key.pub));
ASSERT_EQ (0, system.nodes[1]->balance (key2.pub));
system.deadline_set (10s);
while (system.nodes[0]->balance (key2.pub) != system.nodes[0]->config.receive_minimum.number ())
while (system.nodes[0]->balance (key2.pub) != system.nodes[0]->config.receive_minimum.number () || system.nodes[1]->balance (key2.pub) != system.nodes[0]->config.receive_minimum.number ())
{
ASSERT_NO_ERROR (system.poll ());
}
Expand Down

0 comments on commit b3b368a

Please sign in to comment.