From 8f8d58bc8e531ac8c62396f1c778340571bea298 Mon Sep 17 00:00:00 2001 From: Chris Hewison Date: Thu, 10 Feb 2022 16:02:08 +0900 Subject: [PATCH] ValidatorCleanRestart unit test: Remove sleeps --- source/agora/test/ValidatorCleanRestart.d | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/agora/test/ValidatorCleanRestart.d b/source/agora/test/ValidatorCleanRestart.d index 9eb21ba9f71..467ab10f2c8 100644 --- a/source/agora/test/ValidatorCleanRestart.d +++ b/source/agora/test/ValidatorCleanRestart.d @@ -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)); } @@ -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));