File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ func (c *IPAMContext) nodeInit() error {
538538 // if apiserver is connected, get the maxPods from node
539539 var node corev1.Node
540540 if c .withApiServer {
541- node , err : = k8sapi .GetNode (ctx , c .k8sClient )
541+ node , err = k8sapi .GetNode (ctx , c .k8sClient )
542542 if err != nil {
543543 log .Errorf ("Failed to get node, %s" , err )
544544 podENIErrInc ("nodeInit" )
Original file line number Diff line number Diff line change @@ -45,9 +45,6 @@ func getIPAMDCacheFilters() map[client.Object]cache.ByObject {
4545 & corev1.Node {}: {
4646 Field : fields.Set {"metadata.name" : nodeName }.AsSelector (),
4747 },
48- & rcscheme.CNINode {}: {
49- Field : fields.Set {"metadata.name" : nodeName }.AsSelector (),
50- },
5148 }
5249 // only cache CNINode when SGP is in use
5350 enabledPodENI := utils .GetBoolAsStringEnvVar (envEnablePodENI , false )
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ if [[ $RUN_CNI_INTEGRATION_TESTS == true ]]; then
235235 echo " Running ginkgo tests with focus: $focus "
236236 (cd " $INTEGRATION_TEST_DIR /cni" && CGO_ENABLED=0 ginkgo --focus=" $focus " --skip=" $skip " -v --timeout 60m --no-color --fail-on-pending -- --cluster-kubeconfig=" $KUBECONFIG " --cluster-name=" $CLUSTER_NAME " --aws-region=" $AWS_DEFAULT_REGION " --aws-vpc-id=" $VPC_ID " --ng-name-label-key=" kubernetes.io/os" --ng-name-label-val=" linux" )
237237 (cd " $INTEGRATION_TEST_DIR /ipamd" && CGO_ENABLED=0 ginkgo --focus=" $focus " -v --timeout 60m --no-color --fail-on-pending -- --cluster-kubeconfig=" $KUBECONFIG " --cluster-name=" $CLUSTER_NAME " --aws-region=" $AWS_DEFAULT_REGION " --aws-vpc-id=" $VPC_ID " --ng-name-label-key=" kubernetes.io/os" --ng-name-label-val=" linux" )
238+ (cd " $INTEGRATION_TEST_DIR /custom-networking-sgpp" && CGO_ENABLED=0 ginkgo -v --timeout 60m --no-color --fail-on-pending -- --cluster-kubeconfig=" $KUBECONFIG " --cluster-name=" $CLUSTER_NAME " --aws-region=" $AWS_DEFAULT_REGION " --aws-vpc-id=" $VPC_ID " --ng-name-label-key=" kubernetes.io/os" --ng-name-label-val=" linux" )
238239 TEST_PASS=$?
239240 CURRENT_IMAGE_INTEGRATION_DURATION=$(( SECONDS - START))
240241 echo " TIMELINE: Current image integration tests took $CURRENT_IMAGE_INTEGRATION_DURATION seconds."
You can’t perform that action at this time.
0 commit comments