From 30d5eb0646b4448be774ec038dbb594a84156f31 Mon Sep 17 00:00:00 2001 From: Ashish Tiwari Date: Tue, 10 Dec 2024 14:02:23 +0530 Subject: [PATCH] fix: pin test-nginx to a working version to fix tests with --- http2 (#11816) --- ci/linux_openresty_common_runner.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/linux_openresty_common_runner.sh b/ci/linux_openresty_common_runner.sh index 1b73ceec92c6..6dda698ffefc 100755 --- a/ci/linux_openresty_common_runner.sh +++ b/ci/linux_openresty_common_runner.sh @@ -38,7 +38,15 @@ do_install() { # sudo apt-get install tree -y # tree deps + # The latest version of test-nginx is not compatible with the current set of tests with ---http2 + # due to this commit: https://github.com/openresty/test-nginx/commit/0ccd106cbe6878318e5a591634af8f1707c411a6 + # This change pins test-nginx to a commit before this one. git clone --depth 1 https://github.com/openresty/test-nginx.git test-nginx + cd test-nginx + git fetch --depth=1 origin ced30a31bafab6c68873efb17b6d80f39bcd95f5 + git checkout ced30a31bafab6c68873efb17b6d80f39bcd95f5 + cd .. + make utils mkdir -p build-cache