From 6813d4f46a0f87ae8d65f213bb59cf1713640df4 Mon Sep 17 00:00:00 2001 From: clyi Date: Fri, 27 Dec 2024 14:42:27 +0800 Subject: [PATCH] should be able to use mac and ip provided by k8s.v1.cni.cncf.io/networks annotation fix e2e version Signed-off-by: clyi --- test/e2e/multus/e2e_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/multus/e2e_test.go b/test/e2e/multus/e2e_test.go index a994363bbb1..ab584bfc7d0 100644 --- a/test/e2e/multus/e2e_test.go +++ b/test/e2e/multus/e2e_test.go @@ -501,6 +501,11 @@ var _ = framework.SerialDescribe("[group:multus]", func() { }) framework.ConformanceIt("should be able to use mac and ip provided by k8s.v1.cni.cncf.io/networks annotation", func() { + + if f.VersionPriorTo(1, 13) { + ginkgo.Skip("this feature is supported from version 1.13") + } + provider := fmt.Sprintf("%s.%s.%s", nadName, namespaceName, util.OvnProvider) ginkgo.By("Creating network attachment definition " + nadName) nad := framework.MakeOVNNetworkAttachmentDefinition(nadName, namespaceName, provider, nil)