@@ -8,10 +8,11 @@ import (
88)
99
1010func Test_ServerSSH (t * testing.T ) {
11+ t .Skip ("Cannot run test as it's lock for 24h before deletion" )
1112 t .Run ("Simple" , core .Test (& core.TestConfig {
1213 Commands : applesilicon .GetCommands (),
1314 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" ),
1516 ),
1617 Cmd : "scw apple-silicon server ssh {{ .Server.ID }}" ,
1718 OverrideExec : core .OverrideExecSimple (
@@ -31,7 +32,7 @@ func Test_ServerSSH(t *testing.T) {
3132 t .Run ("With-Exit-Code" , core .Test (& core.TestConfig {
3233 Commands : applesilicon .GetCommands (),
3334 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" ),
3536 ),
3637 Cmd : "scw apple-silicon server ssh {{ .Server.ID }}" ,
3738 OverrideExec : core .OverrideExecSimple (
0 commit comments