diff --git a/controllers/actions.github.com/autoscalingrunnerset_controller_test.go b/controllers/actions.github.com/autoscalingrunnerset_controller_test.go index a26e8286..8b4c05f2 100644 --- a/controllers/actions.github.com/autoscalingrunnerset_controller_test.go +++ b/controllers/actions.github.com/autoscalingrunnerset_controller_test.go @@ -538,9 +538,9 @@ var _ = Describe("Test AutoScalingRunnerSet controller", Ordered, func() { autoscalingRunnerSetTestInterval, ).Should(Succeed(), "Failed to eventually figure out github secret data update") - updatedListener := new(v1alpha1.AutoscalingListener) Eventually( func() error { + updatedListener := new(v1alpha1.AutoscalingListener) err := k8sClient.Get( ctx, client.ObjectKey{