mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Shorten test runtime for macos tests on github actions
This commit is contained in:
parent
38712335d4
commit
23d85c81e5
@ -1692,6 +1692,11 @@ func fuzzTest(t *testing.T, tester shellTester, input string) {
|
||||
ops = append(ops, op)
|
||||
}
|
||||
|
||||
// MacOs on github actions is slow, so trim the fuzz tests down so they finish in time
|
||||
if len(ops) > 5 && os.Getenv("GITHUB_ACTION") != "" && runtime.GOOS == "darwin" {
|
||||
ops = ops[:5]
|
||||
}
|
||||
|
||||
// Set up and create the devices
|
||||
defer shared.BackupAndRestore(t)()
|
||||
var deviceMap map[device]deviceOp = make(map[device]deviceOp)
|
||||
|
Loading…
Reference in New Issue
Block a user