Copilot commented on code in PR #12599:
URL: https://github.com/apache/trafficserver/pull/12599#discussion_r2454900221
##########
tests/gold_tests/pluginTest/strategies/strategies_plugins.test.py:
##########
@@ -183,38 +212,54 @@
# header rewrite
-# 0 - nh0 default request
-tr = Test.AddTestRun("nh0_hr straight through request")
+# 0 - nhp request to parent.config
+tr = Test.AddTestRun("nhp_hr parent.config through request")
ps = tr.Processes.Default
-for ind in range(num_origins):
+for ind in range(len(origins)):
origin = origins[ind]
ps.StartBefore(origin, ready=When.PortOpen(origin.Variables.Port))
tr.StillRunningAfter = origin
ps.StartBefore(dns)
ps.StartBefore(Test.Processes.ts)
+tr.MakeCurlCommand(curl_and_args + " http://nhp_hr/path", ts=ts)
+ps.ReturnCode = 0
+ps.Streams.stdout.Content = Testers.ContainsExpression("nh2", "expected nh2")
+tr.StillRunningAfter = ts
+tr.StillRunnerAfter = dns
Review Comment:
Corrected spelling of 'StillRunnerAfter' to 'StillRunningAfter'.
--
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]