backport of commit 42b6fb5c0b

pull/4414/head
Stan Ryzhov 2 years ago committed by GitHub
parent 4caa8f5778
commit 3bc4e36f50

@ -47,7 +47,7 @@ func WaitForSessionCli(t testing.TB, ctx context.Context, projectId string, opt
t.Logf("Found %d session(s)", sessionCount)
if sessionCount != opts.WithExpectedSessionsCount {
return backoff.Permanent(fmt.Errorf("only %d session(s) expected", opts.WithExpectedSessionsCount))
return backoff.Permanent(fmt.Errorf("Unexpected number of sessions. Expected: %d, Actual: %d", opts.WithExpectedSessionsCount, sessionCount))
}
// Get the most recent session

Loading…
Cancel
Save