mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-23 23:39:02 +01:00
Bump timeout for linux since linux appears to be a bit slower
This commit is contained in:
parent
4060f2d71d
commit
17e98f0366
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user