Skip to content

Commit

Permalink
Stagger outer eventually loop to ensure the inner eventually loop has…
Browse files Browse the repository at this point in the history
… time to complete, avoid racing on the display channel.
  • Loading branch information
Joerger committed Jan 8, 2025
1 parent 2c764e1 commit 7935954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4858,7 +4858,7 @@ func testX11Forwarding(t *testing.T, suite *integrationTestSuite) {
}
return false
}, time.Second, 100*time.Millisecond, "failed to read display")
}, 10*time.Second, time.Second)
}, 10*time.Second, 2*time.Second)

// Make a new connection to the XServer proxy to confirm that forwarding is working.
serverDisplay, err := x11.ParseDisplay(<-display)
Expand Down

0 comments on commit 7935954

Please sign in to comment.