aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-28 16:43:30 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-28 19:02:41 -0300
commit486ef5428774da0c521bea64753051e201512e0a (patch)
treef6552375143e2edc2c308d6c0bf4ab099a01475d /test
parentprofiles: patch fixes (#5970) (diff)
downloadfirejail-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
Diffstat (limited to 'test')
-rwxr-xr-xtest/sysutils/wget.exp2
-rwxr-xr-xtest/utils/build.exp3
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
6set timeout 10 6set timeout 30
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_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}
95after 100 95after 100
96 96
97# increase the timeout for remote services
98set timeout 30
99
97send -- "firejail --build wget --output-document=~ debian.org\r" 100send -- "firejail --build wget --output-document=~ debian.org\r"
98expect { 101expect {
99 timeout {puts "TESTING ERROR 13\n";exit} 102 timeout {puts "TESTING ERROR 13\n";exit}