From 0853e6937c76cecaa8d842c946a2d747ee56c82e Mon Sep 17 00:00:00 2001 From: Filipe PINTO Date: Wed, 22 Jan 2025 23:15:19 +0100 Subject: [PATCH] Speedify tests on Windows ci --- integration/hurl/tests_ok/bench.ps1 | 2 +- integration/hurl/tests_ok/bench.sh | 2 +- integration/hurl/tests_ok/html.ps1 | 4 ++-- integration/hurl/tests_ok/html.sh | 4 ++-- integration/hurl/tests_ok/max_redirect_infinite.ps1 | 2 +- integration/hurl/tests_ok/max_redirect_infinite.sh | 2 +- integration/hurl/tests_ok/max_redirect_infinite_option.ps1 | 2 +- integration/hurl/tests_ok/max_redirect_infinite_option.sh | 2 +- integration/hurl/tests_ok/parallel_all.ps1 | 2 +- integration/hurl/tests_ok/parallel_all.sh | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/integration/hurl/tests_ok/bench.ps1 b/integration/hurl/tests_ok/bench.ps1 index c16a354db5b..27b3d91df91 100644 --- a/integration/hurl/tests_ok/bench.ps1 +++ b/integration/hurl/tests_ok/bench.ps1 @@ -1,4 +1,4 @@ Set-StrictMode -Version latest $ErrorActionPreference = 'Stop' -hurl tests_ok/bench.hurl +hurl --ipv4 tests_ok/bench.hurl diff --git a/integration/hurl/tests_ok/bench.sh b/integration/hurl/tests_ok/bench.sh index f349e96a3c5..cc7a31139fc 100755 --- a/integration/hurl/tests_ok/bench.sh +++ b/integration/hurl/tests_ok/bench.sh @@ -1,4 +1,4 @@ #!/bin/bash set -Eeuo pipefail -hurl tests_ok/bench.hurl +hurl --ipv4 tests_ok/bench.hurl diff --git a/integration/hurl/tests_ok/html.ps1 b/integration/hurl/tests_ok/html.ps1 index d7b6cd3ea74..2ab84764466 100644 --- a/integration/hurl/tests_ok/html.ps1 +++ b/integration/hurl/tests_ok/html.ps1 @@ -3,11 +3,11 @@ $ErrorActionPreference = 'Stop' # Some tests are failing but we want to continue until the end $ErrorActionPreference = "Continue" -hurl --test ` +hurl --ipv4 --test ` --report-html build/tmp/ ` --glob "tests_ok/test.*.hurl" -hurl --test ` +hurl --ipv4 --test ` --report-html build/tmp/ ` tests_ok/assert_body.hurl ` tests_ok/assert_header.hurl ` diff --git a/integration/hurl/tests_ok/html.sh b/integration/hurl/tests_ok/html.sh index c8bef9d66d9..a9dbf4d6eed 100755 --- a/integration/hurl/tests_ok/html.sh +++ b/integration/hurl/tests_ok/html.sh @@ -3,11 +3,11 @@ set -Eeuo pipefail # Some tests are failing but we want to continue until the end set +euo pipefail -hurl --test \ +hurl --ipv4 --test \ --report-html build/a/b/c/ \ --glob "tests_ok/test.*.hurl" -hurl --test \ +hurl --ipv4 --test \ --report-html build/a/b/c/ \ tests_ok/assert_body.hurl \ tests_ok/assert_header.hurl \ diff --git a/integration/hurl/tests_ok/max_redirect_infinite.ps1 b/integration/hurl/tests_ok/max_redirect_infinite.ps1 index 8a31002adfb..5df78167a40 100644 --- a/integration/hurl/tests_ok/max_redirect_infinite.ps1 +++ b/integration/hurl/tests_ok/max_redirect_infinite.ps1 @@ -1,4 +1,4 @@ Set-StrictMode -Version latest $ErrorActionPreference = 'Stop' -hurl --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl +hurl --ipv4 --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl diff --git a/integration/hurl/tests_ok/max_redirect_infinite.sh b/integration/hurl/tests_ok/max_redirect_infinite.sh index 3fdd85c785a..d6bee8adc3f 100755 --- a/integration/hurl/tests_ok/max_redirect_infinite.sh +++ b/integration/hurl/tests_ok/max_redirect_infinite.sh @@ -1,4 +1,4 @@ #!/bin/bash set -Eeuo pipefail -hurl --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl +hurl --ipv4 --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl diff --git a/integration/hurl/tests_ok/max_redirect_infinite_option.ps1 b/integration/hurl/tests_ok/max_redirect_infinite_option.ps1 index 6ee6f90d55f..7e9228844a4 100644 --- a/integration/hurl/tests_ok/max_redirect_infinite_option.ps1 +++ b/integration/hurl/tests_ok/max_redirect_infinite_option.ps1 @@ -1,4 +1,4 @@ Set-StrictMode -Version latest $ErrorActionPreference = 'Stop' -hurl tests_ok/max_redirect_infinite_option.hurl +hurl --ipv4 tests_ok/max_redirect_infinite_option.hurl diff --git a/integration/hurl/tests_ok/max_redirect_infinite_option.sh b/integration/hurl/tests_ok/max_redirect_infinite_option.sh index d022766fb85..51e3d6c203a 100755 --- a/integration/hurl/tests_ok/max_redirect_infinite_option.sh +++ b/integration/hurl/tests_ok/max_redirect_infinite_option.sh @@ -1,4 +1,4 @@ #!/bin/bash set -Eeuo pipefail -hurl tests_ok/max_redirect_infinite_option.hurl +hurl --ipv4 tests_ok/max_redirect_infinite_option.hurl diff --git a/integration/hurl/tests_ok/parallel_all.ps1 b/integration/hurl/tests_ok/parallel_all.ps1 index 8f53e057a85..f71021ad7d3 100644 --- a/integration/hurl/tests_ok/parallel_all.ps1 +++ b/integration/hurl/tests_ok/parallel_all.ps1 @@ -7,7 +7,7 @@ if (Test-Path build/parallel-all.txt) { # Some tests are failing but we want to continue until the end $ErrorActionPreference = 'Continue' -hurl --parallel --test ` +hurl --ipv4 --parallel --test ` --report-tap build/parallel-all.txt ` tests_ok/assert_body.hurl ` tests_ok/assert_header.hurl ` diff --git a/integration/hurl/tests_ok/parallel_all.sh b/integration/hurl/tests_ok/parallel_all.sh index a9f0e3784ee..f94b9c26708 100755 --- a/integration/hurl/tests_ok/parallel_all.sh +++ b/integration/hurl/tests_ok/parallel_all.sh @@ -5,7 +5,7 @@ rm -f build/parallel-all.txt # Some tests are failing but we want to continue until the end set +euo pipefail -hurl --parallel --test \ +hurl --ipv4 --parallel --test \ --report-tap build/parallel-all.txt \ tests_ok/assert_body.hurl \ tests_ok/assert_header.hurl \