Skip to content

Commit 9105d29

Browse files
authored
test(instance): use sbs additionnal volumes with server backup (#4412)
1 parent 453ebd1 commit 9105d29

File tree

3 files changed

+669
-188
lines changed

3 files changed

+669
-188
lines changed

internal/namespaces/instance/v1/custom_server_action_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func Test_ServerBackup(t *testing.T) {
123123

124124
t.Run("With SBS volumes", core.Test(&core.TestConfig{
125125
Commands: instance.GetCommands(),
126-
BeforeFunc: core.ExecStoreBeforeCmd("Server", testServerCommand("root-volume=sbs:20G stopped=true image=ubuntu-jammy")),
126+
BeforeFunc: core.ExecStoreBeforeCmd("Server", testServerCommand("root-volume=sbs:20G additional-volumes.0=sbs:10G additional-volumes.1=sbs:15G stopped=true image=ubuntu-jammy")),
127127
Cmd: `scw instance server backup {{ .Server.ID }} name=backup`,
128128
Check: core.TestCheckCombine(
129129
core.TestCheckGolden(),

0 commit comments

Comments
 (0)