Skip to content

Commit

Permalink
Fix go build for cni test package. (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
orsenthil authored Jul 6, 2022
1 parent 301c379 commit f979630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/integration/cni/pod_networking_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (

const InstanceTypeNodeLabelKey = "beta.kubernetes.io/instance-type"

var f *framework.Framework
var maxIPPerInterface int
var primaryNode v1.Node
var secondaryNode v1.Node
Expand Down
3 changes: 3 additions & 0 deletions test/integration/cni/pod_traffic_test_PD_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package cni

import (
"github.com/aws/amazon-vpc-cni-k8s/test/framework"
"github.com/aws/amazon-vpc-cni-k8s/test/framework/resources/k8s/manifest"
k8sUtils "github.com/aws/amazon-vpc-cni-k8s/test/framework/resources/k8s/utils"
"github.com/aws/amazon-vpc-cni-k8s/test/framework/utils"
Expand All @@ -22,6 +23,8 @@ import (
. "github.com/onsi/ginkgo/v2"
)

var f *framework.Framework

var _ = Describe("Test pod networking with prefix delegation enabled", func() {
var (
serverDeploymentBuilder *manifest.DeploymentBuilder
Expand Down

0 comments on commit f979630

Please sign in to comment.