From a873dfb189486ae50f66552362a8811adb6e587f Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Mon, 7 Oct 2024 14:47:15 +0300 Subject: [PATCH] tests/e2e, persistentip: Add primary UDN test case Add a new test subtree entry for primary UDN interfaces, checking persistentIPs on workload with primary UDN. Signed-off-by: Ram Lavi --- test/e2e/persistentips_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/e2e/persistentips_test.go b/test/e2e/persistentips_test.go index 5cbd7bbc..738f8d53 100644 --- a/test/e2e/persistentips_test.go +++ b/test/e2e/persistentips_test.go @@ -46,6 +46,7 @@ const ( ) const ( + rolePrimary = "primary" roleSecondary = "secondary" ) @@ -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 {