Skip to content

Commit

Permalink
tests: increase the timeouts in wget/build.exp
Browse files Browse the repository at this point in the history
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
    [...]
    firejail 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
  • Loading branch information
kmk3 committed Aug 28, 2023
1 parent dd5ae0d commit d4a21b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/sysutils/wget.exp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2014-2023 Firejail Authors
# License GPL v2

set timeout 10
set timeout 30
spawn $env(SHELL)
match_max 100000

Expand Down
3 changes: 3 additions & 0 deletions test/utils/build.exp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ expect {
}
after 100

# increase the timeout for remote services
set timeout 30

send -- "firejail --build wget --output-document=~ debian.org\r"
expect {
timeout {puts "TESTING ERROR 13\n";exit}
Expand Down

0 comments on commit d4a21b4

Please sign in to comment.