bneradt opened a new pull request, #12640: URL: https://github.com/apache/trafficserver/pull/12640
remap_reload.test.py updates the remap.config file and issues a `traffic_ctl config reload` to dynamically integrate those changes into the running ATS process. Before this patch, this was done via creating a new tr.Disk.File() object and writing to it. But this resulted in warnings for overriding the already existing remap.config Disk.File from the setup of the ATS process in the first place. This transitions the test to modify the file via a Setup function instead. This achieves the same result without alarming the autest framework about the conflicting Disk.File object. This patch cleans up these warnings: ``` ╰─➤ ./autest.sh --sandbox /tmp/sb --clean=none -f remap_reload Running Test remap_reload:Warning: Overriding file object /tmp/sb/remap_reload/ts/config/remap.config Warning: Overriding file object /tmp/sb/remap_reload/ts/config/remap.config ........ Passed `` -- 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]
