diff mbox series

[net-next,2/5] selftests: tc-testing: remove unnecessary time.sleep

Message ID 20231124154248.315470-3-pctammela@mojatatu.com
State Accepted
Commit 8059e68b99280cc9a224593f3142f9368229c6ee
Headers show
Series selftests: tc-testing: updates and cleanups for tdc | expand

Commit Message

Pedro Tammela Nov. 24, 2023, 3:42 p.m. UTC
This operation is redundant and it's not stabilizing nor waiting
for anything.

Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
---
 tools/testing/selftests/tc-testing/tdc.py | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py
index 669ec89ebfe1..c5ec861687b6 100755
--- a/tools/testing/selftests/tc-testing/tdc.py
+++ b/tools/testing/selftests/tc-testing/tdc.py
@@ -497,11 +497,6 @@  def prepare_run(pm, args, testlist):
         pm.call_post_suite(1)
         return emergency_exit_message
 
-    if args.verbose:
-        print('give test rig 2 seconds to stabilize')
-
-    time.sleep(2)
-
 def purge_run(pm, index):
     pm.call_post_suite(index)