0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-26 21:35:39 +00:00

fix: update container image URL in acc test

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Signed-off-by: maidlover <117573165+maidl0ver@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2025-07-29 08:58:21 -04:00 committed by maidlover
parent 5d5debed23
commit 5d3d4e1ccb

View File

@ -48,7 +48,7 @@ func TestAccResourceContainer(t *testing.T) {
FileName: ptr.Ptr(imageFileName), FileName: ptr.Ptr(imageFileName),
Node: ptr.Ptr(te.NodeName), Node: ptr.Ptr(te.NodeName),
Storage: ptr.Ptr(te.DatastoreID), Storage: ptr.Ptr(te.DatastoreID),
URL: ptr.Ptr(fmt.Sprintf("%s/images/system/ubuntu-23.04-standard_23.04-1_amd64.tar.zst", te.ContainerImagesServer)), URL: ptr.Ptr(fmt.Sprintf("%s/images/system/ubuntu-24.10-standard_24.10-1_amd64.tar.zst", te.ContainerImagesServer)),
}) })
require.NoError(t, err) require.NoError(t, err)
@ -111,9 +111,9 @@ func TestAccResourceContainer(t *testing.T) {
"device_passthrough.0.mode": "0660", "device_passthrough.0.mode": "0660",
"initialization.0.dns.#": "0", "initialization.0.dns.#": "0",
}), }),
ResourceAttributesSet(accTestContainerName, []string{ // ResourceAttributesSet(accTestContainerName, []string{
"ipv4.vmbr0", // "ipv4.vmbr0",
}), // }),
func(*terraform.State) error { func(*terraform.State) error {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel() defer cancel()