You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "traeak (via GitHub)" <gi...@apache.org> on 2024/02/26 20:25:28 UTC

[PR] TSVConnFd: replace autest wait condition [trafficserver]

traeak opened a new pull request, #11099:
URL: https://github.com/apache/trafficserver/pull/11099

   The TSVConnFd has been unstable in our internal CI.  Switching over to the provided condwait script seems to resolve this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TSVConnFd: replace autest wait condition [trafficserver]

Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #11099:
URL: https://github.com/apache/trafficserver/pull/11099#issuecomment-1973323282

   Cherry-picked to v10.0.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TSVConnFd: replace autest wait condition [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on code in PR #11099:
URL: https://github.com/apache/trafficserver/pull/11099#discussion_r1503352030


##########
tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.test.py:
##########
@@ -64,7 +64,5 @@
 # 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)

Review Comment:
   Should the `condwait` script be updated with something else instead? I think @ywkaras added `condwait`. It would be good to get his feedback on this/



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TSVConnFd: replace autest wait condition [trafficserver]

Posted by "traeak (via GitHub)" <gi...@apache.org>.
traeak merged PR #11099:
URL: https://github.com/apache/trafficserver/pull/11099


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org