mirror of https://github.com/knative/client.git
fix(test): Give the namespace some time setup (#348)
Supposed to fix #329
This commit is contained in:
parent
b4b254f64c
commit
f7bec15480
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue