fix(test): Give the namespace some time setup (#348)

Supposed to fix #329
This commit is contained in:
Roland Huß 2019-08-08 21:10:57 +02:00 committed by Knative Prow Robot
parent b4b254f64c
commit f7bec15480
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ func (test *e2eTest) Setup(t *testing.T) {
test.env.Namespace = fmt.Sprintf("%s%d", test.env.Namespace, getNamespaceCountAndIncrement()) test.env.Namespace = fmt.Sprintf("%s%d", test.env.Namespace, getNamespaceCountAndIncrement())
test.kn = kn{t, test.env.Namespace, Logger{}} test.kn = kn{t, test.env.Namespace, Logger{}}
test.CreateTestNamespace(t, test.env.Namespace) test.CreateTestNamespace(t, test.env.Namespace)
time.Sleep(20 * time.Second)
} }
func getNamespaceCountAndIncrement() int { func getNamespaceCountAndIncrement() int {