Refactor e2e tests to use the service ClusterIP

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-02-22 11:03:42 -03:00
parent f04361cc06
commit 5e249d3366
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
80 changed files with 777 additions and 706 deletions

View file

@ -19,18 +19,15 @@ package e2e
import (
"testing"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/klog"
"k8s.io/ingress-nginx/test/e2e/framework"
)
func init() {
framework.RegisterParseFlags()
if "" == framework.TestContext.KubeConfig {
klog.Fatalf("environment variable %v must be set", clientcmd.RecommendedConfigPathEnvVar)
}
// if "" == framework.TestContext.KubeConfig {
// klog.Fatalf("environment variable %v must be set", clientcmd.RecommendedConfigPathEnvVar)
// }
}
func TestE2E(t *testing.T) {
RunE2ETests(t)