dragon512 commented on a change in pull request #7232:
URL: https://github.com/apache/trafficserver/pull/7232#discussion_r572387316
##########
File path: tests/gold_tests/pluginTest/lua/lua_states_stats.test.py
##########
@@ -23,16 +23,25 @@
Test.SkipUnless(
Condition.PluginExists('tslua.so'),
)
-Test.SkipIf(Condition.true("Test cannot deterministically wait until the stats
appear"))
Test.ContinueOnFail = True
# Define default ATS
server = Test.MakeOriginServer("server")
-ts = Test.MakeATSProcess("ts", command="traffic_manager", select_ports=True)
+# It is necessary to redirect stderr to a file so it will be available for
examination by a test run.
+ts = Test.MakeATSProcess(
+ "ts", command="traffic_manager 2> " + Test.RunDirectory +
"/ts.stderr.txt", select_ports=True
Review comment:
We already have this text being grabbed in the Streams object. We should
have examples test using later for a given test
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]