Skip to content

Commit

Permalink
Merge pull request #2148 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
build: increase go test timeout
  • Loading branch information
ucwong authored Sep 5, 2024
2 parents f8f07db + 414f3dc commit 4b42ede
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,15 @@ func doTest(cmdline []string) {
}
gotest := tc.Go("test")

// CI needs a bit more time for the statetests (default 10m).
gotest.Args = append(gotest.Args, "-timeout=30m")

// Enable CKZG backend in CI.
gotest.Args = append(gotest.Args, "-tags=ckzg")

// Enable integration-tests
gotest.Args = append(gotest.Args, "-tags=integrationtests")

// Test a single package at a time. CI builders are slow
// and some tests run into timeouts under load.
gotest.Args = append(gotest.Args, "-p", "1")
Expand Down

0 comments on commit 4b42ede

Please sign in to comment.