ywkaras commented on code in PR #11612:
URL: https://github.com/apache/trafficserver/pull/11612#discussion_r1690312211
##########
tests/gold_tests/pluginTest/prefetch/prefetch_bignum.test.py:
##########
@@ -71,7 +71,15 @@
f'curl --verbose --proxy 127.0.0.1:{ts.Variables.port}
http://domain.in/texts/demo-3842948374928374982374982374.txt')
tr.Processes.Default.ReturnCode = 0
+tr = Test.AddTestRun('Await transactions to finish logging.')
+p = tr.Processes.Default
+p.Command = 'echo waiting for transactions to finish logging'
+await_process = tr.Processes.Process('await', 'sleep 60')
+await_process.Ready = When.FileContains(ts.Disk.traffic_out.Name,
'3842948374928374982374982377')
+await_process.StartupTimeout = 30
Review Comment:
Should lines 74-79 be a function where you pass in tr and the string for
FileContains?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]