Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/extended/image_ecosystem/sample_repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func NewSampleRepoTest(c SampleRepoConfig) func() {
if strings.Contains(response, c.expectedString) {
return true, nil
}
e2e.Logf("url check got %s, expected it to contain %s", response, c.expectedString)
return false, nil
})
o.Expect(response).Should(o.ContainSubstring(c.expectedString))
Expand Down
6 changes: 6 additions & 0 deletions test/extended/util/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,12 @@ func FetchURL(url string, retryTimeout time.Duration) (response string, err erro
if err != nil || r.StatusCode != 200 {
// lie to the poller that we didn't get an error even though we did
// because otherwise it's going to give up.
if err != nil {
e2e.Logf("error fetching url: %v", err)
}
if r != nil {
e2e.Logf("non-200 status code fetching url: %d", r.StatusCode)
}
return false, nil
}
defer r.Body.Close()
Expand Down