Skip to content

Commit

Permalink
tests: Update for incusbr0
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 15, 2023
1 parent a274f64 commit d33ad64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/network/resource_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func TestAccNetwork_typeMacvlan(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("lxd_network.eth1", "name", "eth1"),
resource.TestCheckResourceAttr("lxd_network.eth1", "type", "macvlan"),
resource.TestCheckResourceAttr("lxd_network.eth1", "config.parent", "lxdbr0"),
resource.TestCheckResourceAttr("lxd_network.eth1", "config.parent", "incusbr0"),
),
},
},
Expand Down Expand Up @@ -361,7 +361,7 @@ resource "lxd_network" "eth1" {
type = "macvlan"
config = {
"parent" = "lxdbr0"
"parent" = "incusbr0"
}
}
`
Expand Down
2 changes: 1 addition & 1 deletion internal/profile/resource_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ resource "lxd_profile" "profile1" {
properties = {
name = "bar"
nictype = "bridged"
parent = "lxdbr0"
parent = "incusbr0"
}
}
}
Expand Down

0 comments on commit d33ad64

Please sign in to comment.