test: allow the full race suite 30 minutes; trim research scenario stimuli
Research experiments run several sandbox variants with settle windows, and under the full parallel race suite the experiments package exceeded Go's default ten-minute limit. The make targets now pass -timeout 30m, and the ablation and self-model scenarios use the fewest stimuli that still show their effect.
This commit is contained in:
@@ -17,10 +17,10 @@ test: ## unit tests
|
||||
go test ./...
|
||||
|
||||
test-race: ## unit tests with the race detector
|
||||
go test -race ./...
|
||||
go test -race -timeout 30m ./...
|
||||
|
||||
test-db: dev-db ## tests that need PostgreSQL (NOEMA_TEST_DATABASE_URL)
|
||||
NOEMA_TEST_DATABASE_URL=$(DEV_DB) go test -race -count=1 ./...
|
||||
NOEMA_TEST_DATABASE_URL=$(DEV_DB) go test -race -timeout 30m -count=1 ./...
|
||||
|
||||
vet: ## go vet
|
||||
go vet ./...
|
||||
|
||||
Reference in New Issue
Block a user