selftests: tc-testing: remove unnecessary time.sleep
authorPedro Tammela <pctammela@mojatatu.com>
Fri, 24 Nov 2023 15:42:45 +0000 (12:42 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Nov 2023 02:15:42 +0000 (18:15 -0800)
This operation is redundant and it's not stabilizing nor waiting
for anything.

Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://lore.kernel.org/r/20231124154248.315470-3-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tdc.py

index 669ec89ebfe1ec5f4d1f4b9c51da3e66af10ed7c..c5ec861687b657b0656f656e6bb410466ec466fe 100755 (executable)
@@ -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)