diff options
author | 2023-08-28 16:43:30 -0300 | |
---|---|---|
committer | 2023-08-28 19:02:41 -0300 | |
commit | 486ef5428774da0c521bea64753051e201512e0a (patch) | |
tree | f6552375143e2edc2c308d6c0bf4ab099a01475d | |
parent | profiles: patch fixes (#5970) (diff) | |
download | firejail-486ef5428774da0c521bea64753051e201512e0a.tar.gz firejail-486ef5428774da0c521bea64753051e201512e0a.tar.zst firejail-486ef5428774da0c521bea64753051e201512e0a.zip |
tests: increase the timeouts in wget.exp and build.exp
To try to fix the following errors[1] [2]:
runner@fv-az298-480:~/work/firejail/firejail/test/utils$
<irejail --build wget --output-document=~ debian.org
[...]
Resolving www.debian.org (www.debian.org)... 128.31.0.62
Connecting to www.debian.org (www.debian.org)|128.31.0.62|:443... connected.
TESTING ERROR 13
runner@fv-az305-745:~/work/firejail/firejail/test/sysutils$
<ysutils$ firejail --ignore=quiet wget -q debian.org
[...]
Child process initialized in 106.89 ms
TESTING ERROR 2
[1] https://github.com/netblue30/firejail/actions/runs/5996420917/job/16278071977?pr=5979
[2] https://github.com/netblue30/firejail/actions/runs/5996420917/job/16278071219?pr=5979
-rwxr-xr-x | test/sysutils/wget.exp | 2 | ||||
-rwxr-xr-x | test/utils/build.exp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/sysutils/wget.exp b/test/sysutils/wget.exp index 7f994ff81..26756eeb2 100755 --- a/test/sysutils/wget.exp +++ b/test/sysutils/wget.exp | |||
@@ -3,7 +3,7 @@ | |||
3 | # Copyright (C) 2014-2023 Firejail Authors | 3 | # Copyright (C) 2014-2023 Firejail Authors |
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | set timeout 10 | 6 | set timeout 30 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
diff --git a/test/utils/build.exp b/test/utils/build.exp index e1ea6af69..c550675c5 100755 --- a/test/utils/build.exp +++ b/test/utils/build.exp | |||
@@ -94,6 +94,9 @@ expect { | |||
94 | } | 94 | } |
95 | after 100 | 95 | after 100 |
96 | 96 | ||
97 | # increase the timeout for remote services | ||
98 | set timeout 30 | ||
99 | |||
97 | send -- "firejail --build wget --output-document=~ debian.org\r" | 100 | send -- "firejail --build wget --output-document=~ debian.org\r" |
98 | expect { | 101 | expect { |
99 | timeout {puts "TESTING ERROR 13\n";exit} | 102 | timeout {puts "TESTING ERROR 13\n";exit} |