Skip to content

Commit

Permalink
test: Add error detail to ipcache check failures
Browse files Browse the repository at this point in the history
Add error to the debug output for ipcache check failures. This should
help solve #361.

Signed-off-by: Jarno Rajahalme <[email protected]>
  • Loading branch information
jrajahalme committed Jul 19, 2021
1 parent ecaaeb8 commit 76470ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectivity/check/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,14 +550,14 @@ func (ct *ConnectivityTest) waitForIPCache(ctx context.Context, pod Pod) error {

for _, client := range ct.clientPods {
if _, err := ic.findPodID(client); err != nil {
ct.Debugf("Couldn't find client Pod %v in ipcache, retrying...", client)
ct.Debugf("Couldn't find client Pod %v in ipcache (%s), retrying...", client, err)
goto retry
}
}

for _, echo := range ct.echoPods {
if _, err := ic.findPodID(echo); err != nil {
ct.Debugf("Couldn't find echo Pod %v in ipcache, retrying...", echo)
ct.Debugf("Couldn't find echo Pod %v in ipcache (%s), retrying...", echo, err)
goto retry
}
}
Expand Down

0 comments on commit 76470ec

Please sign in to comment.