From 8bd60fbe6a2d5c2cba7496a88c4cdecdf4bd7e7a Mon Sep 17 00:00:00 2001 From: Xie Zheng Date: Wed, 26 Jun 2024 10:59:14 +0800 Subject: [PATCH] Fix bug, should not delete customize_networkconfig Fix NetworkInfoCRType networkinfos instead of networkinfoes Signed-off-by: Xie Zheng --- test/e2e/nsx_networkinfo_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/e2e/nsx_networkinfo_test.go b/test/e2e/nsx_networkinfo_test.go index 1d242b56d..de628682e 100644 --- a/test/e2e/nsx_networkinfo_test.go +++ b/test/e2e/nsx_networkinfo_test.go @@ -8,7 +8,7 @@ import ( ) const ( - NetworkInfoCRType = "networkinfoes" + NetworkInfoCRType = "networkinfos" NSCRType = "namespaces" PrivateIPBlockNSXType = "IpAddressBlock" @@ -68,7 +68,6 @@ func TestCustomizedNetworkInfo(t *testing.T) { _ = applyYAML(nsPath, "") defer deleteYAML(nsPath, "") - defer deleteYAML(ncPath, "") ns := "customized-ns"