This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit e747ffe5437c3b47160806286308031288798821
Author: Brian Olsen <[email protected]>
AuthorDate: Mon Feb 26 15:57:10 2024 -0700

    TSVConnFd: replace autest wait condition (#11099)
    
    (cherry picked from commit 331ae7e5ab5cee118e7c3aecc90bf844810bf44f)
---
 tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py 
b/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py
index f63b16f546..06b008ae45 100644
--- a/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py
+++ b/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py
@@ -64,7 +64,5 @@ tr.Processes.Default.ReturnCode = 0
 # Give tests up to 10 seconds to complete.
 #
 tr = Test.AddTestRun()
-tr.Processes.Default.Command = (
-    "N=10 ; while [ $$N -gt 0 ] ; do " + "if [ ! -f " + InProgressFilePathspec 
+
-    " ] ; then exit 0 ; fi ; sleep 1 ; N=$$(( N-1 )) ; " + "done ; echo 
'TIMEOUT' ; exit 1")
+tr.Processes.Default.Command = (os.path.join(Test.Variables.AtsTestToolsDir, 
'condwait') + ' 15 1 -f ' + InProgressFilePathspec)
 tr.Processes.Default.ReturnCode = 0

Reply via email to