Skip to content

test: speed up integration tests by making them parallel#81

Merged
mweibel merged 3 commits intomasterfrom
speed-up-integration-tests
Mar 23, 2026
Merged

test: speed up integration tests by making them parallel#81
mweibel merged 3 commits intomasterfrom
speed-up-integration-tests

Conversation

@mweibel
Copy link
Contributor

@mweibel mweibel commented Mar 18, 2026

integration tests now run in 5m ~9m instead of >30min.

@mweibel mweibel force-pushed the speed-up-integration-tests branch from 4b094bc to 4698c9b Compare March 18, 2026 09:22
@alakae
Copy link
Contributor

alakae commented Mar 19, 2026

as discussed:

  • inline integrationTest function. mark _CRUD tests as short.

@mweibel mweibel force-pushed the speed-up-integration-tests branch from cf4c034 to 066f293 Compare March 19, 2026 12:31
mweibel added 3 commits March 23, 2026 08:31
- Add t.Parallel() to integration tests
- Split long tests into _CRUD variants skippable with -short
- Add integration-short and vet Makefile targets, add -parallel 4 flag
- Fix go vet: replace WaitGroup with t.Run subtests in MultiSite tests
- Only run on push to master (PRs already trigger their own run)
- Add concurrency group to cancel outdated runs
- Remove random sleep workaround
- Add go vet step before tests
@mweibel mweibel force-pushed the speed-up-integration-tests branch from 64f6646 to 6f4225a Compare March 23, 2026 07:31
@mweibel mweibel merged commit d4a33b2 into master Mar 23, 2026
1 check passed
@mweibel mweibel deleted the speed-up-integration-tests branch March 23, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants