Skip to content

Commit

Permalink
feat(tests): increase timeouts for tests
Browse files Browse the repository at this point in the history
Individual test timeouts was increased to 20 minutes (from 10)
Overall test suite timeout was increated to 90 minutes (from 42)
  • Loading branch information
jeff-held-aiven committed Feb 19, 2024
1 parent f69f4f6 commit 606f0f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test-e2e-preinstalled: check-env-vars check-avn-client ## Run end-to-end tests u

test: envtest ## Run tests. To target a specific test, use 'run=TestName make test'.
export KUBEBUILDER_ASSETS=$(shell eval ${KUBEBUILDER_ASSETS_CMD}); \
go test ./tests/... -race -run=$(run) -v $(if $(run), -timeout 10m, -timeout 42m) -parallel 10 -cover -coverpkg=./controllers -covermode=atomic -coverprofile=coverage.out
go test ./tests/... -race -run=$(run) -v $(if $(run), -timeout 20m, -timeout 90m) -parallel 10 -cover -coverpkg=./controllers -covermode=atomic -coverprofile=coverage.out

##@ Build

Expand Down
2 changes: 1 addition & 1 deletion tests/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
const (
retryInterval = time.Second * 10
createTimeout = time.Second * 15
waitRunningTimeout = time.Minute * 10
waitRunningTimeout = time.Minute * 20
yamlBufferSize = 100
defaultNamespace = "default"
)
Expand Down

0 comments on commit 606f0f4

Please sign in to comment.