diff options
-rw-r--r-- | test/modules/http2/test_601_h2proxy_twisted.py | 2 | ||||
-rwxr-xr-x | test/travis_before_linux.sh | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/modules/http2/test_601_h2proxy_twisted.py b/test/modules/http2/test_601_h2proxy_twisted.py index 224726eca0..0079aa6985 100644 --- a/test/modules/http2/test_601_h2proxy_twisted.py +++ b/test/modules/http2/test_601_h2proxy_twisted.py @@ -62,6 +62,8 @@ class TestH2ProxyTwisted: assert r.exit_code == 92 or r.response["status"] == 502 def test_h2_601_05_echo_fail_many(self, env): + if not env.curl_is_at_least('8.0.0'): + pytest.skip(f'need at least curl v8.0.0 for this') count = 200 fpath = os.path.join(env.gen_dir, "data-100k") args = [env.curl, '--parallel', '--parallel-max', '20'] diff --git a/test/travis_before_linux.sh b/test/travis_before_linux.sh index f5529299cd..bc4d65942b 100755 --- a/test/travis_before_linux.sh +++ b/test/travis_before_linux.sh @@ -71,10 +71,6 @@ function install_apx() { # Blow away the cached install root if the cached install is stale # or doesn't match the expected configuration. grep -q "${version} ${revision} ${config} CC=$CC" ${HOME}/root/.key-${name} || rm -rf ${prefix} - # TEST_H2 APR cache seems to be broken, reset - if test -v TEST_H2; then - rm -rf ${prefix} - fi if test -d ${prefix}; then return 0 |