trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [trafficserver] branch master updated: Add ready checks for the microserver and ATS test instances. (#6625)
Date Wed, 08 Apr 2020 00:56:37 GMT
This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


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

commit 21f6a702f6874a49efa15336a740d1859f20bb15
Author: Evan Zelkowitz <eze@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
---
 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 2e149a6..f0f6e18 100644
--- a/tests/gold_tests/h2/nghttp.test.py
+++ b/tests/gold_tests/h2/nghttp.test.py
@@ -78,7 +78,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


Mime
View raw message