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

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


The following commit(s) were added to refs/heads/8.1.x by this push:
     new ee498cd  Add ready checks for the microserver and ATS test instances. 
(#6625)
ee498cd is described below

commit ee498cd6115d12015c496099e5b147b66a89a0e0
Author: Evan Zelkowitz <e...@apache.org>
AuthorDate: Tue Apr 7 17:56:27 2020 -0700

    Add ready checks for the microserver and ATS test instances. (#6625)
    
    This fixed failing autest runs for nghttp on 8.1.x, adding to master first
    
    (cherry picked from commit 21f6a702f6874a49efa15336a740d1859f20bb15)
---
 tests/gold_tests/h2/nghttp.test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gold_tests/h2/nghttp.test.py 
b/tests/gold_tests/h2/nghttp.test.py
index 33b4c2a..2c7a6c1 100644
--- a/tests/gold_tests/h2/nghttp.test.py
+++ b/tests/gold_tests/h2/nghttp.test.py
@@ -80,7 +80,7 @@ tr = Test.AddTestRun()
 tr.Processes.Default.Command = "nghttp -v --no-dep 
'https://127.0.0.1:{0}/post' --trailer 'foo: bar' -d 'post_body'".format(
     ts.Variables.ssl_port)
 tr.Processes.Default.ReturnCode = 0
-tr.Processes.Default.StartBefore(microserver)
-tr.Processes.Default.StartBefore(Test.Processes.ts)
+tr.Processes.Default.StartBefore(microserver, 
ready=When.PortOpen(microserver.Variables.Port))
+tr.Processes.Default.StartBefore(Test.Processes.ts, 
ready=When.PortOpen(ts.Variables.ssl_port))
 tr.Processes.Default.Streams.stdout = "gold/nghttp_0_stdout.gold"
 tr.StillRunningAfter = microserver

Reply via email to