Skip to content

Commit

Permalink
WIP: E2E test wait loop debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Mar 14, 2024
1 parent 0cf5aeb commit 2c4ed08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/domain_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"math/big"
"os"
"path/filepath"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -137,7 +138,9 @@ func domainDescribe(r *test.KnRunResultCollector, domainName string, tls bool) {
for i := 0; i < 20; i++ {
out, err := k.Run("get", "domainmapping", domainName, "-o=jsonpath='{.status.url}'")
assert.NilError(r.T(), err)
out = strings.TrimSpace(out)
if len(out) > 0 {
println("DEBUG wait loop:" + out + "|DEBUG")
break
}
time.Sleep(time.Second)
Expand Down

0 comments on commit 2c4ed08

Please sign in to comment.