fix Flaky E2E test: e2e/TestDomain - create domain with TLS (#1888)

Signed-off-by: pingjiang <xiangpingjiang1998@gmail.com>
This commit is contained in:
cola 2023-11-16 23:43:10 +08:00 committed by GitHub
parent ae35736892
commit 15a9095292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func domainList(r *test.KnRunResultCollector, domainName string) {
func domainDescribe(r *test.KnRunResultCollector, domainName string, tls bool) {
k := test.NewKubectl(r.KnTest().Kn().Namespace())
// Wait for Domain Mapping URL to be populated
for i := 0; i < 10; i++ {
for i := 0; i < 20; i++ {
out, err := k.Run("get", "domainmapping", domainName, "-o=jsonpath='{.status.url}'")
assert.NilError(r.T(), err)
if len(out) > 0 {