From 8e6a55237c432ba29f746547e7fc9528cfbf730d Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 9 Oct 2022 19:04:03 -0700 Subject: [PATCH] Try running all tests in github actions with a longer timeout --- Makefile | 4 ++-- client/client_test.go | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 68f6c21..c07db40 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/client/client_test.go b/client/client_test.go index ab4daa7..6dfc1ea 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -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)