bneradt commented on code in PR #13237:
URL: https://github.com/apache/trafficserver/pull/13237#discussion_r3353168606


##########
tests/gold_tests/remap/remap_acl.test.py:
##########
@@ -166,13 +169,13 @@ def _configure_traffic_server(self) -> int:
             #
             tr = Test.AddTestRun("Await config reload")
             p = tr.Processes.Default
-            p.Command = 'echo awaiting config reload'
-            p.Env = ts.Env
             Test_remap_acl._ts_reload_counter += 1
-            count = Test_remap_acl._ts_reload_counter
-            await_config_reload = 
tr.Processes.Process(f'config_reload_succeeded_{count}', 'sleep 30')
-            await_config_reload.Ready = 
When.FileContains(ts.Disk.diags_log.Name, "remap.config finished loading", 
count)
-            p.StartBefore(await_config_reload)
+            count = 1 + Test_remap_acl._ts_reload_counter
+            p.Command = (
+                f'{sys.executable} {shlex.quote(_wait_for_file_contains)} '
+                f'{shlex.quote(ts.Disk.diags_log.Name)} 
{shlex.quote("remap.config finished loading")} {count}')

Review Comment:
   OK, we can quote executable.



-- 
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]

Reply via email to