Skip to content

Commit

Permalink
tests/e2e, persistentip: Add primary UDN test case
Browse files Browse the repository at this point in the history
Add a new test subtree entry for primary UDN interfaces, checking
persistentIPs on workload with primary UDN.

Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi committed Oct 8, 2024
1 parent 8c58962 commit a873dfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/e2e/persistentips_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const (
)

const (
rolePrimary = "primary"
roleSecondary = "secondary"
)

Expand Down Expand Up @@ -317,6 +318,12 @@ var _ = DescribeTableSubtree("Persistent IPs", func(params testParams) {
ipsFrom: secondaryNetworkVMIStatusIPs,
vmi: vmiWithMultus,
}),
Entry("primary UDN",
testParams{
role: rolePrimary,
ipsFrom: defaultNetworkStatusAnnotationIPs,
vmi: vmiWithPasst,
}),
)

func foregroundDeleteOptions() *client.DeleteOptions {
Expand Down

0 comments on commit a873dfb

Please sign in to comment.