From a118c6ce8df9411372512c3addd5e8b718ea1ae0 Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Fri, 6 Sep 2024 15:43:45 -0700 Subject: [PATCH] internal/session: update variable name in test This was missed in #5071 --- internal/session/job_session_cleanup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/session/job_session_cleanup_test.go b/internal/session/job_session_cleanup_test.go index c98459778f..3e7e8a5284 100644 --- a/internal/session/job_session_cleanup_test.go +++ b/internal/session/job_session_cleanup_test.go @@ -95,7 +95,7 @@ func TestSessionConnectionCleanupJob(t *testing.T) { // Create the job. job, err := newSessionConnectionCleanupJob(ctx, rw, gracePeriod) - job.gracePeriod = gracePeriod // by-pass factory assert so we dont have to wait so long + job.workerStatusGracePeriod = gracePeriod // by-pass factory assert so we dont have to wait so long require.NoError(err) // sleep the status grace period.