Skip to content

Commit

Permalink
remove many other useless time.sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Mar 20, 2024
1 parent 4c255b9 commit e2c7d90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def main(self):
raise SkipTest("--usecli specified but test does not support using CLI")
self.setup_chain()
self.setup_network()
time.sleep(5)
self.run_test()
success = TestStatus.PASSED
except JSONRPCException:
Expand Down Expand Up @@ -319,7 +318,6 @@ def start_nodes(self, extra_args=None, *args, **kwargs):
self.stop_nodes()
raise

time.sleep(10)

if self.options.coveragedir is not None:
for node in self.nodes:
Expand All @@ -338,7 +336,6 @@ def stop_nodes(self):

for node in self.nodes:
# Wait for nodes to stop
time.sleep(5)
node.wait_until_stopped()

def restart_node(self, i, extra_args=None):
Expand Down

0 comments on commit e2c7d90

Please sign in to comment.