Try running all tests in github actions with a longer timeout

This commit is contained in:
David Dworken 2022-10-09 19:04:03 -07:00
parent 889f12d4bd
commit 8e6a55237c
2 changed files with 2 additions and 7 deletions

View File

@ -1,9 +1,9 @@
forcetest:
go clean -testcache
HISHTORY_TEST=1 go test -p 1 -timeout 20m ./...
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
test:
HISHTORY_TEST=1 go test -p 1 -timeout 20m ./...
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
acttest:
act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64

View File

@ -1706,11 +1706,6 @@ 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)