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

dmeden 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 611cb23d62 Fix test_TSHttpSsnInfo: Use host name instead of numeric 
address. (#11218)
611cb23d62 is described below

commit 611cb23d624c09b45594bece4ac29df621a5d3f2
Author: Damian Meden <[email protected]>
AuthorDate: Fri Apr 5 23:01:42 2024 +0200

    Fix test_TSHttpSsnInfo: Use host name instead of numeric address. (#11218)
---
 tests/gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py 
b/tests/gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py
index 421e2aa720..fa25fe3309 100644
--- a/tests/gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py
+++ b/tests/gold_tests/pluginTest/tsapi/test_TSHttpSsnInfo.test.py
@@ -73,7 +73,7 @@ Test.Env["OUTPUT_FILE"] = log_path
 # H2 SETTINGS, PRIORITY, HEADERS, CONTINUATION, DATA, GOAWAY
 tr = Test.AddTestRun()
 tr.TimeOut = 10
-tr.Processes.Default.Command = f"nghttp -vn --continuation 
'https://127.0.0.1:{ts.Variables.ssl_port}/httpbin/post' -d 'post_body'"
+tr.Processes.Default.Command = f"nghttp -vn --continuation 
'https://localhost:{ts.Variables.ssl_port}/httpbin/post' -d 'post_body'"
 tr.Processes.Default.ReturnCode = 0
 tr.Processes.Default.StartBefore(httpbin, 
ready=When.PortOpen(httpbin.Variables.Port))
 tr.Processes.Default.StartBefore(Test.Processes.ts)
@@ -85,7 +85,7 @@ tr.StillRunningAfter = ts
 if Condition.HasATSFeature('TS_USE_QUIC') and 
Condition.HasCurlFeature('http3'):
     tr = Test.AddTestRun()
     tr.TimeOut = 10
-    tr.Processes.Default.Command = f"curl -k --http3 
'https://127.0.0.1:{ts.Variables.ssl_port}/httpbin/post' -d 'post_body'"
+    tr.Processes.Default.Command = f"curl -k --http3 
'https://localhost:{ts.Variables.ssl_port}/httpbin/post' -d 'post_body'"
     tr.Processes.Default.ReturnCode = 0
     tr.Processes.Default.Streams.stdout = "test_TSHttpSsnInfo_curl0.gold"
     tr.StillRunningAfter = httpbin

Reply via email to