Skip to content

Commit

Permalink
redis - fix tests for 4.0 (#26992)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfrahry authored Aug 12, 2024
1 parent d3028c8 commit 49e38dd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions internal/services/redis/redis_firewall_rule_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ resource "azurerm_resource_group" "test" {
}
resource "azurerm_redis_cache" "test" {
name = "acctestRedis-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
capacity = 1
family = "P"
sku_name = "Premium"
enable_non_ssl_port = false
name = "acctestRedis-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
capacity = 1
family = "P"
sku_name = "Premium"
non_ssl_port_enabled = false
redis_configuration {
maxmemory_reserved = 642
Expand Down Expand Up @@ -176,13 +176,13 @@ resource "azurerm_resource_group" "test" {
}
resource "azurerm_redis_cache" "test" {
name = "acctestRedis-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
capacity = 1
family = "P"
sku_name = "Premium"
enable_non_ssl_port = false
name = "acctestRedis-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
capacity = 1
family = "P"
sku_name = "Premium"
non_ssl_port_enabled = false
redis_configuration {
maxmemory_reserved = 642
Expand Down
28 changes: 14 additions & 14 deletions internal/services/redis/redis_linked_server_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ resource "azurerm_resource_group" "pri" {
}
resource "azurerm_redis_cache" "pri" {
name = "acctestRedispri%d"
location = azurerm_resource_group.pri.location
resource_group_name = azurerm_resource_group.pri.name
capacity = 1
family = "P"
sku_name = "Premium"
enable_non_ssl_port = false
name = "acctestRedispri%d"
location = azurerm_resource_group.pri.location
resource_group_name = azurerm_resource_group.pri.name
capacity = 1
family = "P"
sku_name = "Premium"
non_ssl_port_enabled = false
redis_configuration {
maxmemory_reserved = 642
Expand All @@ -94,13 +94,13 @@ resource "azurerm_resource_group" "sec" {
}
resource "azurerm_redis_cache" "sec" {
name = "acctestRedissec%d"
location = azurerm_resource_group.sec.location
resource_group_name = azurerm_resource_group.sec.name
capacity = 1
family = "P"
sku_name = "Premium"
enable_non_ssl_port = false
name = "acctestRedissec%d"
location = azurerm_resource_group.sec.location
resource_group_name = azurerm_resource_group.sec.name
capacity = 1
family = "P"
sku_name = "Premium"
non_ssl_port_enabled = false
redis_configuration {
maxmemory_reserved = 642
Expand Down

0 comments on commit 49e38dd

Please sign in to comment.