Skip to content

Commit afa17bf

Browse files
committed
fix unit test
1 parent 609b4d5 commit afa17bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

experimental/ssh/internal/client/client_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ func TestValidate(t *testing.T) {
6868
wantErr: `invalid accelerator value: "CPU_1x", expected "GPU_1xA10" or "GPU_8xH100"`,
6969
},
7070
{
71-
name: "both cluster ID and connection name",
72-
opts: client.ClientOptions{ClusterID: "abc-123", ConnectionName: "my-conn", Accelerator: "GPU_1xA10"},
71+
name: "both cluster ID and connection name",
72+
opts: client.ClientOptions{ClusterID: "abc-123", ConnectionName: "my-conn", Accelerator: "GPU_1xA10"},
73+
wantErr: `--accelerator flag can only be used with serverless compute, not with --cluster`,
7374
},
7475
{
7576
name: "proxy mode with invalid connection name",

0 commit comments

Comments
 (0)