From 191d44fb3fc4628e8810b5ea67e911964e662d2b Mon Sep 17 00:00:00 2001 From: Mihaela Balutoiu Date: Mon, 7 Aug 2023 10:51:46 +0300 Subject: [PATCH] Log `org/repo` details on timeout exceeded Signed-off-by: Mihaela Balutoiu --- test/integration/e2e.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/integration/e2e.go b/test/integration/e2e.go index fa539284..14eca76a 100644 --- a/test/integration/e2e.go +++ b/test/integration/e2e.go @@ -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) @@ -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)