Skip to content

Commit 7feb5e0

Browse files
committed
fix tests
1 parent c9da181 commit 7feb5e0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

internal/services/inference/deployment_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestAccDeployment_Basic(t *testing.T) {
2424
{
2525
Config: `
2626
resource "scaleway_inference_deployment" "main" {
27-
name = "test-inferenceSDK-deployment-basic"
27+
name = "test-inference-deployment-basic"
2828
node_type = "L4"
2929
model_name = "meta/llama-3.1-8b-instruct:fp8"
3030
endpoints {
@@ -35,7 +35,7 @@ func TestAccDeployment_Basic(t *testing.T) {
3535
`,
3636
Check: resource.ComposeTestCheckFunc(
3737
testAccCheckDeploymentExists(tt, "scaleway_inference_deployment.main"),
38-
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inferenceSDK-deployment-basic"),
38+
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inference-deployment-basic"),
3939
),
4040
},
4141
},
@@ -57,7 +57,7 @@ func TestAccDeployment_Endpoint(t *testing.T) {
5757
name = "private-network-test-inference"
5858
}
5959
resource "scaleway_inference_deployment" "main" {
60-
name = "test-inferenceSDK-deployment-endpoint-private"
60+
name = "test-inference-deployment-endpoint-private"
6161
node_type = "L4"
6262
model_name = "meta/llama-3.1-8b-instruct:fp8"
6363
endpoints {
@@ -68,7 +68,7 @@ func TestAccDeployment_Endpoint(t *testing.T) {
6868
`,
6969
Check: resource.ComposeTestCheckFunc(
7070
testAccCheckDeploymentExists(tt, "scaleway_inference_deployment.main"),
71-
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inferenceSDK-deployment-basic"),
71+
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inference-deployment-endpoint-private"),
7272
),
7373
},
7474
{
@@ -77,7 +77,7 @@ func TestAccDeployment_Endpoint(t *testing.T) {
7777
name = "private-network-test-inference"
7878
}
7979
resource "scaleway_inference_deployment" "main" {
80-
name = "test-inferenceSDK-deployment-basic-endpoints-private-public"
80+
name = "test-inference-deployment-basic-endpoints-private-public"
8181
node_type = "L4"
8282
model_name = "meta/llama-3.1-8b-instruct:fp8"
8383
endpoints {
@@ -89,7 +89,7 @@ func TestAccDeployment_Endpoint(t *testing.T) {
8989
`,
9090
Check: resource.ComposeTestCheckFunc(
9191
testAccCheckDeploymentExists(tt, "scaleway_inference_deployment.main"),
92-
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inferenceSDK-deployment-basic"),
92+
resource.TestCheckResourceAttr("scaleway_inference_deployment.main", "name", "test-inference-deployment-basic-endpoints-private-public"),
9393
),
9494
},
9595
},
@@ -108,7 +108,7 @@ func TestAccDeployment_MinSize(t *testing.T) {
108108
{
109109
Config: `
110110
resource "scaleway_inference_deployment" "main_size" {
111-
name = "test-inferenceSDK-deployment-min-size"
111+
name = "test-inference-deployment-min-size"
112112
node_type = "L4"
113113
model_name = "meta/llama-3.1-8b-instruct:fp8"
114114
endpoints {

0 commit comments

Comments
 (0)