Patch flaky test with retry, on HTTP/3 with google.com.
This commit is contained in:
parent
e00f6bc34e
commit
28d3544269
|
|
@ -6,6 +6,21 @@ HTTP/2 *
|
||||||
HEAD https://google.com
|
HEAD https://google.com
|
||||||
[Options]
|
[Options]
|
||||||
http3: true
|
http3: true
|
||||||
|
# We put retry here because we have sporadic connection resets (see <https://curl.se/mail/lib-2024-07/0035.html>)
|
||||||
|
# 13/08/2025: same error on Debian Trixie
|
||||||
|
# 17/02/2025: error on Arch Linux
|
||||||
|
# The GitHub runner are supporting HTTP/3 but we get this error:
|
||||||
|
# ```shell
|
||||||
|
# expected: 0 actual:3
|
||||||
|
# error: HTTP connection
|
||||||
|
# --> tests_ok/http_version_3_option.hurl:6:6
|
||||||
|
# |
|
||||||
|
# 6 | HEAD https://google.com
|
||||||
|
# | ^^^^^^^^^^^^^^^^^^ (95) HTTP/3 stream 0 reset by server
|
||||||
|
# |
|
||||||
|
# ```
|
||||||
|
retry: 10
|
||||||
|
retry-interval: 1s
|
||||||
HTTP/3 *
|
HTTP/3 *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,27 +6,6 @@ hurl --version | grep Features | grep -q HTTP3
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 13/08/2025: same error on Debian Trixie
|
|
||||||
# 17/02/2025: we deactivate this test on Arch Linux
|
|
||||||
# The GitHub runner are supporting HTTP/3 but we get this error:
|
|
||||||
# ```shell
|
|
||||||
# expected: 0 actual:3
|
|
||||||
# error: HTTP connection
|
|
||||||
# --> tests_ok/http_version_3_option.hurl:6:6
|
|
||||||
# |
|
|
||||||
# 6 | HEAD https://google.com
|
|
||||||
# | ^^^^^^^^^^^^^^^^^^ (95) HTTP/3 stream 0 reset by server
|
|
||||||
# |
|
|
||||||
# ```
|
|
||||||
if [ -f /etc/os-release ]; then
|
|
||||||
if grep -q 'NAME="Arch Linux"' /etc/os-release; then
|
|
||||||
exit 255
|
|
||||||
fi
|
|
||||||
if grep -q 'NAME="Debian GNU/Linux"' /etc/os-release; then
|
|
||||||
exit 255
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
hurl tests_ok/http_version/http_version_3_option.hurl
|
hurl tests_ok/http_version/http_version_3_option.hurl
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue