mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-04 21:14:05 +00:00
fix(ci): TestAccResourceVMNetwork acc test fails when run on CI (#1092)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
cf5e0374b6
commit
61a0fcd936
@ -16,12 +16,14 @@ import (
|
||||
func TestAccResourceVM(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
providerConfig := getProviderConfig(t)
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
step resource.TestStep
|
||||
}{
|
||||
{"multiline description", resource.TestStep{
|
||||
Config: `
|
||||
Config: providerConfig + `
|
||||
resource "proxmox_virtual_environment_vm" "test_vm1" {
|
||||
node_name = "pve"
|
||||
started = false
|
||||
@ -37,7 +39,7 @@ func TestAccResourceVM(t *testing.T) {
|
||||
),
|
||||
}},
|
||||
{"single line description", resource.TestStep{
|
||||
Config: `
|
||||
Config: providerConfig + `
|
||||
resource "proxmox_virtual_environment_vm" "test_vm2" {
|
||||
node_name = "pve"
|
||||
started = false
|
||||
@ -78,12 +80,14 @@ func TestAccResourceVM(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAccResourceVMNetwork(t *testing.T) {
|
||||
providerConfig := getProviderConfig(t)
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
step resource.TestStep
|
||||
}{
|
||||
{"network interfaces", resource.TestStep{
|
||||
Config: `
|
||||
Config: providerConfig + `
|
||||
resource "proxmox_virtual_environment_file" "cloud_config" {
|
||||
content_type = "snippets"
|
||||
datastore_id = "local"
|
||||
|
Loading…
Reference in New Issue
Block a user