Bump timeout for linux since linux appears to be a bit slower

This commit is contained in:
David Dworken 2022-10-23 00:58:08 -07:00
parent 4060f2d71d
commit 17e98f0366

View File

@ -1729,6 +1729,9 @@ func captureTerminalOutput(t *testing.T, tester shellTester, commands []string)
func captureTerminalOutputWithShellName(t *testing.T, tester shellTester, overriddenShellName string, commands []string) string {
sleepAmount := "0.1"
if runtime.GOOS == "linux" {
sleepAmount = "0.2"
}
if overriddenShellName == "fish" {
// Fish is considerably slower so this is sadly necessary
sleepAmount = "0.5"