make e2e test compatible with go1.13
This commit is contained in:
@@ -23,6 +23,12 @@ var (
|
||||
nodeName string
|
||||
)
|
||||
|
||||
// go1.13 compatibility cf. https://github.com/golang/go/issues/31859
|
||||
var _ = func() bool {
|
||||
testing.Init()
|
||||
return true
|
||||
}()
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&kubeconfig, "kubeconfig", "", "path to the kubeconfig file to use when running the test suite outside a kubernetes cluster")
|
||||
flag.StringVar(&namespace, "namespace", defaultNamespace, "the name of the kubernetes namespace to use for running the test suite (i.e. where to create pods)")
|
||||
|
||||
Reference in New Issue
Block a user