@@ -8,10 +8,11 @@ import (
8
8
)
9
9
10
10
func Test_ServerSSH (t * testing.T ) {
11
+ t .Skip ("Cannot run test as it's lock for 24h before deletion" )
11
12
t .Run ("Simple" , core .Test (& core.TestConfig {
12
13
Commands : applesilicon .GetCommands (),
13
14
BeforeFunc : core .BeforeFuncCombine (
14
- core .ExecStoreBeforeCmd ("Server" , "scw apple-silicon server create --wait" ),
15
+ core .ExecStoreBeforeCmd ("Server" , "scw apple-silicon server create server-type=M2-M --wait" ),
15
16
),
16
17
Cmd : "scw apple-silicon server ssh {{ .Server.ID }}" ,
17
18
OverrideExec : core .OverrideExecSimple (
@@ -31,7 +32,7 @@ func Test_ServerSSH(t *testing.T) {
31
32
t .Run ("With-Exit-Code" , core .Test (& core.TestConfig {
32
33
Commands : applesilicon .GetCommands (),
33
34
BeforeFunc : core .BeforeFuncCombine (
34
- core .ExecStoreBeforeCmd ("Server" , "scw apple-silicon server create --wait" ),
35
+ core .ExecStoreBeforeCmd ("Server" , "scw apple-silicon server create server-type=M2-M --wait" ),
35
36
),
36
37
Cmd : "scw apple-silicon server ssh {{ .Server.ID }}" ,
37
38
OverrideExec : core .OverrideExecSimple (
0 commit comments