diff --git a/internal/test/e2e/main_test.go b/internal/test/e2e/main_test.go index c41563762..b8de3389b 100644 --- a/internal/test/e2e/main_test.go +++ b/internal/test/e2e/main_test.go @@ -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)")