You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "hnakamur (via GitHub)" <gi...@apache.org> on 2025/03/03 13:58:41 UTC

[PR] Use ip command as a fallback in redirect_actions test [trafficserver]

hnakamur opened a new pull request, #12067:
URL: https://github.com/apache/trafficserver/pull/12067

   Without this workaround, if the hostname is set to a loopback address redirect_actions test fails like below:
   
   ```
          file /home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt : Checking that /home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt matches /home/jenkins/trafficserver/tests/gold_tests/redirect/generated_test_data/9-tr.gold - Failed
             Reason: File differences
              Gold File : /home/jenkins/trafficserver/tests/gold_tests/redirect/generated_test_data/9-tr.gold
              Data File : /home/jenkins/autest_work/sandbox/redirect_actions/_output/9-tr-Default/stream.stdout.txt
              - HTTP/1.1 307 Temporary Redirect
              + HTTP/1.1 204 No Content
   ```
   
   This error happens since the address is a loopback so it is not rejected as expected.
   
   As a workaround, use the ip command to obtain a non-loopback IP address.


-- 
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] Use ip command as a fallback in redirect_actions test [trafficserver]

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


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