Skip to content

Commit

Permalink
ValidatorCleanRestart unit test: Remove sleeps
Browse files Browse the repository at this point in the history
  • Loading branch information
hewison-chris committed Feb 10, 2022
1 parent a00223f commit 8f8d58b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/agora/test/ValidatorCleanRestart.d
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ unittest
// Wake up node_2
scope (exit) node_2.ctrl.sleep(0.seconds);

Thread.sleep(5.seconds); // TODO: remove this issue #2971

// Make 2 blocks
network.generateBlocks(only(0, 1, 3), Height(3));
}
Expand All @@ -160,9 +158,6 @@ unittest
// Make sure we can print the logs
scope (failure) node_1.ctrl.sleep(0.seconds);

// give time for node_2 to be discovered again
Thread.sleep(5.seconds); // TODO: remove this issue #2971

// wait till node_2 catches up
network.assertSameBlocks(only(0, 2, 3), Height(3));

Expand Down

0 comments on commit 8f8d58b

Please sign in to comment.