chore(tests): allow for the tests to run in parallel BE-12801 (#2231)

This commit is contained in:
andres-portainer
2026-04-07 17:38:22 -03:00
committed by GitHub
parent 30ca5e298c
commit 1298fc629e
232 changed files with 603 additions and 0 deletions
@@ -27,6 +27,7 @@ type stackBuilder struct {
}
func TestService_StackByWebhookID(t *testing.T) {
t.Parallel()
if testing.Short() {
t.Skip("skipping test in short mode. Normally takes ~1s to run.")
}
@@ -84,6 +85,7 @@ func (b *stackBuilder) createNewStack(webhookID string) portainer.Stack {
}
func Test_RefreshableStacks(t *testing.T) {
t.Parallel()
if testing.Short() {
t.Skip("skipping test in short mode. Normally takes ~1s to run.")
}