JosiahWI commented on code in PR #13489:
URL: https://github.com/apache/trafficserver/pull/13489#discussion_r3716200703
##########
tests/gold_tests/chunked_encoding/chunked_encoding_h2.test.py:
##########
@@ -36,12 +39,13 @@
# add ssl materials like key, certificates for the server
ts.addDefaultSSLFiles()
+origin_server = os.path.join(Test.TestDirectory,
"chunked_encoding_h2_server.py")
delay_server = Test.Processes.Process(
- "delay-server", "bash -c '" + Test.TestDirectory + "/delay-server.sh {}
outserver1'".format(Test.Variables.upstream_port))
+ "delay-server", f'{sys.executable} "{origin_server}" 127.0.0.1
{Test.Variables.upstream_port} outserver1 delayed-chunked')
server2 = Test.Processes.Process(
- "server2", "bash -c '" + Test.TestDirectory + "/server2.sh {}
outserver2'".format(Test.Variables.upstream_port2))
+ "server2", f'{sys.executable} "{origin_server}" 127.0.0.1
{Test.Variables.upstream_port2} outserver2 content-length')
server3 = Test.Processes.Process(
- "server3", "bash -c '" + Test.TestDirectory + "/server3.sh {}
outserver3'".format(Test.Variables.upstream_port3))
+ "server3", f'{sys.executable} "{origin_server}" 127.0.0.1
{Test.Variables.upstream_port3} outserver3 chunked')
Review Comment:
How does this work since the shell scripts have been removed from this
directory?
--
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]