Skip to content

Commit 71c37bd

Browse files
committed
add explicit checks in test
1 parent 247e1f1 commit 71c37bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/services/mssql/mssql_elasticpool_resource_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,13 +431,15 @@ func TestAccMsSqlElasticPool_replicaCount(t *testing.T) {
431431
Config: r.highAvailabilityReplicaCount(data, 1),
432432
Check: acceptance.ComposeTestCheckFunc(
433433
check.That(data.ResourceName).ExistsInAzure(r),
434+
check.That(data.ResourceName).Key("high_availability_replica_count").HasValue("1"),
434435
),
435436
},
436437
data.ImportStep("max_size_gb"),
437438
{
438439
Config: r.highAvailabilityReplicaCount(data, 0),
439440
Check: acceptance.ComposeTestCheckFunc(
440441
check.That(data.ResourceName).ExistsInAzure(r),
442+
check.That(data.ResourceName).Key("high_availability_replica_count").HasValue("0"),
441443
),
442444
},
443445
data.ImportStep("max_size_gb"),

0 commit comments

Comments
 (0)