Skip to content

Commit

Permalink
Test adjusments in release/v3.x (#1380)
Browse files Browse the repository at this point in the history
  • Loading branch information
Didainius authored Jan 17, 2025
1 parent 04288d5 commit 49aeacc
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 84 deletions.
6 changes: 3 additions & 3 deletions vcd/resource_vcd_standalone_vm_with_vm_sizing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestAccVcdStandaloneVmWithVmSizing(t *testing.T) {
"ProviderVdc": testConfig.VCD.NsxtProviderVdc.Name,
"NetworkPool": testConfig.VCD.NsxtProviderVdc.NetworkPool,
"Allocated": "10240",
"Reserved": "0",
"Reserved": "10240",
"Limit": "10240",
"ProviderVdcStorageProfile": testConfig.VCD.NsxtProviderVdc.StorageProfile,
"FuncName": t.Name(),
Expand Down Expand Up @@ -287,15 +287,15 @@ resource "vcd_org_vdc" "{{.VdcName}}" {
allocation_model = "{{.AllocationModel}}"
network_pool_name = "{{.NetworkPool}}"
provider_vdc_name = "{{.ProviderVdc}}"
memory_guaranteed = 1
cpu_guaranteed = 1
compute_capacity {
cpu {
allocated = "{{.Allocated}}"
limit = "{{.Limit}}"
}
memory {
allocated = "{{.Allocated}}"
limit = "{{.Limit}}"
}
}
Expand Down
8 changes: 4 additions & 4 deletions vcd/resource_vcd_vapp_vm_4types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1497,15 +1497,15 @@ resource "vcd_org_vdc" "sizing-policy" {
allocation_model = "{{.AllocationModel}}"
network_pool_name = "{{.NetworkPool}}"
provider_vdc_name = "{{.ProviderVdc}}"
memory_guaranteed = 1
cpu_guaranteed = 1
compute_capacity {
cpu {
allocated = "{{.Allocated}}"
limit = "{{.Limit}}"
}
memory {
allocated = "{{.Allocated}}"
limit = "{{.Limit}}"
}
}
Expand Down Expand Up @@ -1739,7 +1739,7 @@ func TestAccVcdVAppVm_4types_sizing_max(t *testing.T) {

"AllocationModel": "Flex",
"Allocated": "40000",
"Reserved": "0",
"Reserved": "40000",
"Limit": "40000",
"ProviderVdcStorageProfile": testConfig.VCD.ProviderVdc.StorageProfile,
"FuncName": t.Name(),
Expand Down Expand Up @@ -2053,7 +2053,7 @@ func TestAccVcdVAppVm_4types_sizing_cpu_only(t *testing.T) {

"AllocationModel": "Flex",
"Allocated": "30000",
"Reserved": "0",
"Reserved": "30000",
"Limit": "32000",
"ProviderVdcStorageProfile": testConfig.VCD.ProviderVdc.StorageProfile,
"FuncName": t.Name(),
Expand Down
Loading

0 comments on commit 49aeacc

Please sign in to comment.