diff --git a/test/e2e/port_forward.go b/test/e2e/port_forward.go index 6dec28244..2feb48966 100644 --- a/test/e2e/port_forward.go +++ b/test/e2e/port_forward.go @@ -3,12 +3,13 @@ package e2e import ( "bytes" "fmt" + "net/url" + "net/http" + "strings" + "k8s.io/client-go/rest" "k8s.io/client-go/tools/portforward" "k8s.io/client-go/transport/spdy" - "net/http" - "net/url" - "strings" ) func CreatePortForward(namespace, pod string, ports []string, kConfig *rest.Config) (*portforward.PortForwarder, chan struct{}, error) { diff --git a/test/e2e/smoketest.go b/test/e2e/smoketest.go index 30f36fd7c..8ed995470 100644 --- a/test/e2e/smoketest.go +++ b/test/e2e/smoketest.go @@ -2,12 +2,13 @@ package e2e import ( "errors" - "github.com/uber/jaeger-client-go/config" "io/ioutil" - "k8s.io/apimachinery/pkg/util/wait" "net/http" "strings" "time" + + "github.com/uber/jaeger-client-go/config" + "k8s.io/apimachinery/pkg/util/wait" ) func SmokeTest(apiTracesEndpoint, collectorEndpoint, serviceName string, interval, timeout time.Duration) error { diff --git a/test/e2e/utils.go b/test/e2e/utils.go index 1dd44c9a9..ae2c350f2 100644 --- a/test/e2e/utils.go +++ b/test/e2e/utils.go @@ -3,9 +3,10 @@ package e2e import ( "errors" "fmt" + "strings" + "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" - "strings" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" )