0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00

chore(vm): add an acc test for disk.backup update edge case (#1906)

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2025-04-14 20:55:59 -04:00 committed by GitHub
parent 35a529609d
commit ad41476962
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,6 +71,7 @@ func TestAccResourceVMDisks(t *testing.T) {
size = 8
replicate = false
aio = "native"
backup = "false"
speed {
iops_read = 100
iops_read_burstable = 1000
@ -82,7 +83,7 @@ func TestAccResourceVMDisks(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
ResourceAttributes("proxmox_virtual_environment_vm.test_disk", map[string]string{
"disk.0.aio": "native",
"disk.0.backup": "true",
"disk.0.backup": "false",
"disk.0.cache": "none",
"disk.0.discard": "ignore",
"disk.0.file_id": "",