increase timeout for test-server-datastore

This commit is contained in:
6543 2023-07-10 16:03:37 +02:00
parent a6d2c78916
commit 1eb3c033ea
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862

View file

@ -144,11 +144,11 @@ test-cli: ## Test cli code
go test -race -cover -coverprofile cli-coverage.out -timeout 30s github.com/woodpecker-ci/woodpecker/cmd/cli github.com/woodpecker-ci/woodpecker/cli/...
test-server-datastore: ## Test server datastore
go test -timeout 60s -run TestMigrate github.com/woodpecker-ci/woodpecker/server/store/...
go test -timeout 120s -run TestMigrate github.com/woodpecker-ci/woodpecker/server/store/...
go test -race -timeout 30s -skip TestMigrate github.com/woodpecker-ci/woodpecker/server/store/...
test-server-datastore-coverage: ## Test server datastore with coverage report
go test -race -cover -coverprofile datastore-coverage.out -timeout 60s github.com/woodpecker-ci/woodpecker/server/store/...
go test -race -cover -coverprofile datastore-coverage.out -timeout 120s github.com/woodpecker-ci/woodpecker/server/store/...
test-ui: ui-dependencies ## Test UI code
(cd web/; pnpm run lint)