Skip to content

Commit 51a379a

Browse files
authored
fix(test): fix flaky tests (#862)
Signed-off-by: Patrik Cyvoct <[email protected]>
1 parent 2c79aa3 commit 51a379a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/namespaces/instance/v1/custom_server_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func Test_ServerVolumeUpdate(t *testing.T) {
7575
ctx.ExecuteCmd(`scw instance volume delete {{ (index .Server.Volumes "1").ID }}`)
7676
return deleteServer("Server")(ctx)
7777
},
78+
DisableParallel: true,
7879
}))
7980

8081
t.Run("invalid volume UUID", core.Test(&core.TestConfig{
@@ -85,7 +86,8 @@ func Test_ServerVolumeUpdate(t *testing.T) {
8586
core.TestCheckGolden(),
8687
core.TestCheckExitCode(1),
8788
),
88-
AfterFunc: deleteServer("Server"),
89+
AfterFunc: deleteServer("Server"),
90+
DisableParallel: true,
8991
}))
9092
})
9193
}

0 commit comments

Comments
 (0)