Skip to content

Commit

Permalink
Log org/repo details on timeout exceeded
Browse files Browse the repository at this point in the history
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
  • Loading branch information
mihaelabalutoiu committed Aug 7, 2023
1 parent 1bd288f commit 191d44f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@ func WaitRepoInstance(timeout time.Duration) {
time.Sleep(5 * time.Second)
timeWaited += 5
}
repo, err := getRepo(cli, authToken, repoID)
handleError(err)
printResponse(repo)

instanceDetails, err := getInstance(cli, authToken, instance.Name)
handleError(err)
printResponse(instanceDetails)
Expand Down Expand Up @@ -823,6 +827,10 @@ func WaitOrgInstance(timeout time.Duration) {
time.Sleep(5 * time.Second)
timeWaited += 5
}
org, err := getOrg(cli, authToken, orgID)
handleError(err)
printResponse(org)

instanceDetails, err := getInstance(cli, authToken, instance.Name)
handleError(err)
printResponse(instanceDetails)
Expand Down

0 comments on commit 191d44f

Please sign in to comment.