Skip to content

Commit 0003266

Browse files
authored
test: reduce memory usage in test (#524)
1 parent c4cdc03 commit 0003266

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

examples/basic/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module "postgresql_db" {
2323
resource_tags = var.resource_tags
2424
access_tags = var.access_tags
2525
member_host_flavor = var.member_host_flavor
26-
member_memory_mb = var.member_memory_mb
2726
}
2827

2928
# On destroy, we are seeing that even though the replica has been returned as

examples/basic/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,3 @@ variable "member_host_flavor" {
5656
description = "Allocated host flavor per member. For more information, see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#host_flavor"
5757
default = null
5858
}
59-
60-
variable "member_memory_mb" {
61-
type = number
62-
description = "Allocated memory per-member. See the following doc for supported values: https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-resources-scaling"
63-
default = 4096
64-
}

tests/other_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ func TestRunBasicExampleWithFlavorMultitenant(t *testing.T) {
130130
ResourceGroup: resourceGroup,
131131
TerraformVars: map[string]interface{}{
132132
"member_host_flavor": "multitenant",
133-
"member_memory_mb": 8192, // Requires a minimum of 8192 megabytes with multitenant flavor
134133
},
135134
CloudInfoService: sharedInfoSvc,
136135
})

0 commit comments

Comments
 (0)