You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2025/11/05 00:01:46 UTC

[PR] remap_reload.test.py: fix override warnings [trafficserver]

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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] remap_reload.test.py: fix override warnings [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt merged PR #12640:
URL: https://github.com/apache/trafficserver/pull/12640


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] remap_reload.test.py: fix override warnings [trafficserver]

Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #12640:
URL: https://github.com/apache/trafficserver/pull/12640#issuecomment-3603734854

   Cherry-picked to 10.1.x branch


-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org