You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2023/03/20 15:03:45 UTC

svn commit: r1908575 - /httpd/httpd/trunk/test/modules/tls/test_05_proto.py

Author: ylavic
Date: Mon Mar 20 15:03:44 2023
New Revision: 1908575

URL: http://svn.apache.org/viewvc?rev=1908575&view=rev
Log:
pytests: test_tls_05_proto_1_3: Don't rely on TlsTestEnv.curl_supports_tls_1_3() (always False).

Modified:
    httpd/httpd/trunk/test/modules/tls/test_05_proto.py

Modified: httpd/httpd/trunk/test/modules/tls/test_05_proto.py
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/modules/tls/test_05_proto.py?rev=1908575&r1=1908574&r2=1908575&view=diff
==============================================================================
--- httpd/httpd/trunk/test/modules/tls/test_05_proto.py (original)
+++ httpd/httpd/trunk/test/modules/tls/test_05_proto.py Mon Mar 20 15:03:44 2023
@@ -33,13 +33,10 @@ class TestProto:
     def test_tls_05_proto_1_2(self, env):
         r = env.tls_get(env.domain_b, "/index.json", options=["--tlsv1.2"])
         assert r.exit_code == 0, r.stderr
-        if TlsTestEnv.curl_supports_tls_1_3():
-            r = env.tls_get(env.domain_b, "/index.json", options=["--tlsv1.3"])
-            assert r.exit_code == 0, r.stderr
 
     def test_tls_05_proto_1_3(self, env):
         r = env.tls_get(env.domain_a, "/index.json", options=["--tlsv1.3"])
-        if TlsTestEnv.curl_supports_tls_1_3():
+        if True: # testing TlsTestEnv.curl_supports_tls_1_3() is unreliable (curl should support TLS1.3 nowadays..)
             assert r.exit_code == 0, r.stderr
         else:
             assert r.exit_code == 4, r.stderr