From 296e9c736d7074441b08136a50d13a1b54c5b6f4 Mon Sep 17 00:00:00 2001 From: Brian Lechthaler Date: Thu, 26 Feb 2026 12:22:27 -0800 Subject: [PATCH 1/4] use test- as node name --- v1/providers/sfcompute/scripts/instancetype_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/sfcompute/scripts/instancetype_test.go b/v1/providers/sfcompute/scripts/instancetype_test.go index d320b3ab..9a5b30e3 100644 --- a/v1/providers/sfcompute/scripts/instancetype_test.go +++ b/v1/providers/sfcompute/scripts/instancetype_test.go @@ -58,7 +58,7 @@ func TestCreateInstance(t *testing.T) { id := uuid.New().String() instance, err := client.CreateInstance(context.Background(), v1.CreateInstanceAttrs{ - Name: "test", + Name: fmt.Print("test-%s", id), RefID: id, PublicKey: ssh.GetTestPublicKey(), InstanceType: "h100", From a670a0d6dc0512e059ee272e6b17feaaf03775d9 Mon Sep 17 00:00:00 2001 From: Brian Lechthaler Date: Thu, 26 Feb 2026 12:30:46 -0800 Subject: [PATCH 2/4] set default test region to richmond --- v1/providers/sfcompute/scripts/instancetype_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/sfcompute/scripts/instancetype_test.go b/v1/providers/sfcompute/scripts/instancetype_test.go index 9a5b30e3..f425b5e5 100644 --- a/v1/providers/sfcompute/scripts/instancetype_test.go +++ b/v1/providers/sfcompute/scripts/instancetype_test.go @@ -62,7 +62,7 @@ func TestCreateInstance(t *testing.T) { RefID: id, PublicKey: ssh.GetTestPublicKey(), InstanceType: "h100", - Location: "hayesvalley", + Location: "richmond", }) if err != nil { t.Fatalf("failed to create instance: %v", err) From e5d397478f3937934226eb660889e9fdb2a4487d Mon Sep 17 00:00:00 2001 From: Brian Lechthaler Date: Thu, 26 Feb 2026 14:20:04 -0800 Subject: [PATCH 3/4] use region richmond for providerconfig in testinstancelifecyclevalidation --- v1/providers/sfcompute/validation_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/providers/sfcompute/validation_test.go b/v1/providers/sfcompute/validation_test.go index cd0a12da..8b0f0e61 100644 --- a/v1/providers/sfcompute/validation_test.go +++ b/v1/providers/sfcompute/validation_test.go @@ -30,7 +30,7 @@ func TestInstanceLifecycleValidation(t *testing.T) { config := validation.ProviderConfig{ Credential: NewSFCCredential("validation-test", apiKey), - Location: "yerba", + Location: "richmond", } validation.RunInstanceLifecycleValidation(t, config) From 05477df6f193c2424028690f23a9d03a9c85b61b Mon Sep 17 00:00:00 2001 From: Brian Lechthaler Date: Thu, 26 Feb 2026 18:02:11 -0800 Subject: [PATCH 4/4] use region richmond when calling MakeClient --- v1/providers/sfcompute/scripts/instancetype_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v1/providers/sfcompute/scripts/instancetype_test.go b/v1/providers/sfcompute/scripts/instancetype_test.go index f425b5e5..8630633a 100644 --- a/v1/providers/sfcompute/scripts/instancetype_test.go +++ b/v1/providers/sfcompute/scripts/instancetype_test.go @@ -20,7 +20,7 @@ func TestGetInstanceTypes(t *testing.T) { apiKey := getAPIKey() credential := NewSFCCredential("validation-test", apiKey) - client, err := credential.MakeClient(context.Background(), "eu-north1") + client, err := credential.MakeClient(context.Background(), "richmond") if err != nil { t.Fatalf("failed to make client: %v", err) } @@ -50,7 +50,7 @@ func TestCreateInstance(t *testing.T) { apiKey := getAPIKey() credential := NewSFCCredential("validation-test", apiKey) - client, err := credential.MakeClient(context.Background(), "eu-north1") + client, err := credential.MakeClient(context.Background(), "richmond") if err != nil { t.Fatalf("failed to make client: %v", err) }