Skip to content

Commit

Permalink
Add additional tests for Hyperscale SKUs.
Browse files Browse the repository at this point in the history
  • Loading branch information
richsage committed Nov 21, 2023
1 parent fafb8f1 commit aad99e7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions internal/services/mssql/validate/database_sku_name_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,26 @@ func TestDatabaseSkuName(t *testing.T) {
input: "HS_S_8IM_48",
valid: false,
},
{
name: "Valid Premium 8IM",
input: "HS_PRMS_8",
valid: true,
},
{
name: "Invalid Premium 8IM",
input: "HS_PRMS_28",
valid: false,
},
{
name: "Valid Premium 8IH",
input: "HS_MOPRMS_8",
valid: true,
},
{
name: "Invalid Premium 8IH",
input: "HS_MOPRMS_128",
valid: false,
},
}
validationFunction := DatabaseSkuName()
for _, tt := range tests {
Expand Down

0 comments on commit aad99e7

Please sign in to comment.