From 3bc4e36f509353787c16c7fe4b3b3219346ac6b6 Mon Sep 17 00:00:00 2001 From: Stan Ryzhov <60649800+stasryzhov@users.noreply.github.com> Date: Wed, 14 Feb 2024 18:02:27 +0000 Subject: [PATCH] backport of commit 42b6fb5c0b47167ac4be8da934ef1d7b5d5e0932 --- testing/internal/e2e/boundary/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/internal/e2e/boundary/session.go b/testing/internal/e2e/boundary/session.go index 226642be4b..ef62254c1b 100644 --- a/testing/internal/e2e/boundary/session.go +++ b/testing/internal/e2e/boundary/session.go @@ -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