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

[GitHub] [trafficserver] masaori335 commented on a diff in pull request #9684: Replace curl with proxy verifier in proxy protocol tests

masaori335 commented on code in PR #9684:
URL: https://github.com/apache/trafficserver/pull/9684#discussion_r1186942970


##########
tests/gold_tests/proxy_protocol/proxy_protocol.test.py:
##########
@@ -17,36 +17,37 @@
 #  limitations under the License.
 
 import os
-from ports import get_port
-import sys
 
 Test.Summary = 'Test PROXY Protocol'
-Test.SkipUnless(
-    Condition.HasCurlOption("--haproxy-protocol")
-)
 Test.ContinueOnFail = True
 
 
-class ProxyProtocolTest:
+class ProxyProtocolInTest:
     """Test that ATS can receive Proxy Protocol."""
 
+    replay_file = "replay/proxy_protocol_in.replay.yaml"
+
     def __init__(self):
         self.setupOriginServer()
+        self.setupPVOriginServer()
         self.setupTS()
 
     def setupOriginServer(self):
         self.httpbin = Test.MakeHttpBinServer("httpbin")

Review Comment:
   Do we still need the `httpbin` backend?



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