Skip to content

Commit

Permalink
fix(tests): Relax timeout in TestShell (#105)
Browse files Browse the repository at this point in the history
This test was failing quite often (e.g.
https://github.com/ubuntu/GoWSL/actions/runs/8139480614/job/22386067331?pr=101)

We can relax the timeout a bit.
  • Loading branch information
EduardGomezEscandell authored Mar 11, 2024
2 parents 8711d48 + 646bc56 commit de344b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestShell(t *testing.T) {

// Because Shell is an interactive command, it needs to be quit from
// outside. This goroutine sets a fuse before shutting down the distro.
tk := time.AfterFunc(3*time.Second, func() {
tk := time.AfterFunc(10*time.Second, func() {
t.Logf("Command timed out")
err := d.Terminate()
if err != nil {
Expand Down

0 comments on commit de344b8

Please sign in to comment.