From 0aec3ccf1b72de1578613966ab539f377a90e48b Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 14 Mar 2024 17:27:16 +0000 Subject: [PATCH] Add missing params to authorize ingress --- .../custom_networking_sgpp_suite_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/custom-networking-sgpp/custom_networking_sgpp_suite_test.go b/test/integration/custom-networking-sgpp/custom_networking_sgpp_suite_test.go index e681f0e73c..085309d2af 100644 --- a/test/integration/custom-networking-sgpp/custom_networking_sgpp_suite_test.go +++ b/test/integration/custom-networking-sgpp/custom_networking_sgpp_suite_test.go @@ -100,7 +100,7 @@ var _ = BeforeSuite(func() { By("authorizing egress and ingress for security group in ENIConfig") f.CloudServices.EC2().AuthorizeSecurityGroupEgress(customNetworkingSGID, "-1", -1, -1, v4Zero) - f.CloudServices.EC2().AuthorizeSecurityGroupIngress(customNetworkingSGID, "-1", -1, -1, v4Zero) + f.CloudServices.EC2().AuthorizeSecurityGroupIngress(customNetworkingSGID, "-1", -1, -1, v4Zero, false) By("associating cidr range to the VPC") association, err := f.CloudServices.EC2().AssociateVPCCIDRBlock(f.Options.AWSVPCID, cidrRange.String()) @@ -151,7 +151,7 @@ var _ = BeforeSuite(func() { By("authorizing egress and ingress on security group for client-server communication") f.CloudServices.EC2().AuthorizeSecurityGroupEgress(podEniSGID, "tcp", podEniOpenPort, podEniOpenPort, v4Zero) - f.CloudServices.EC2().AuthorizeSecurityGroupIngress(podEniSGID, "tcp", podEniOpenPort, podEniOpenPort, v4Zero) + f.CloudServices.EC2().AuthorizeSecurityGroupIngress(podEniSGID, "tcp", podEniOpenPort, podEniOpenPort, v4Zero, false) By("getting branch ENI limits") nodeList, err := f.K8sResourceManagers.NodeManager().GetNodes(f.Options.NgNameLabelKey, f.Options.NgNameLabelVal)