Skip to content

Commit 220fdc1

Browse files
fix: uncomment multi-az test assertion for valkey cluster
The test was failing because the Multi-AZ assertion for Valkey was commented out, but the Valkey cluster is configured with multi_az_enabled = true and node_count = 2. This change ensures the test properly validates Multi-AZ is enabled for both Redis and Valkey clusters. Co-authored-by: Brian - oozou <lycbrian@users.noreply.github.com>
1 parent 62300b7 commit 220fdc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/terraform_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ func testElasticacheClustersCreated(t *testing.T, terraformOptions *terraform.Op
182182
assert.Equal(t, "valkey", *rg.Engine, "Engine should be valkey")
183183
assert.True(t, *rg.AtRestEncryptionEnabled, "At-rest encryption should be enabled")
184184
assert.True(t, *rg.TransitEncryptionEnabled, "Transit encryption should be enabled")
185+
assert.Equal(t, "enabled", string(rg.MultiAZ), "Multi-AZ should be enabled for Valkey cluster")
185186
}
186187
}
187188

0 commit comments

Comments
 (0)