From 4a6a4a72f678fe6bfc5181c823defc3a8b2b7e4b Mon Sep 17 00:00:00 2001 From: Matt Ulmer <25484774+Ulminator@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:48:02 -0800 Subject: [PATCH] Update tests/scalers/nsq/nsq_test.go Co-authored-by: Jorge Turrado Ferrero Signed-off-by: Matt Ulmer <25484774+Ulminator@users.noreply.github.com> --- tests/scalers/nsq/nsq_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scalers/nsq/nsq_test.go b/tests/scalers/nsq/nsq_test.go index ca556ecf5e1..cb81c506bdd 100644 --- a/tests/scalers/nsq/nsq_test.go +++ b/tests/scalers/nsq/nsq_test.go @@ -200,7 +200,7 @@ func testActivation(t *testing.T, kc *kubernetes.Clientset, data templateData) { KubectlReplaceWithTemplate(t, data, "jobTemplate", jobTemplate) AssertReplicaCountNotChangeDuringTimePeriod(t, kc, deploymentName, testNamespace, 0, 20) - data.MessageCount = 1 // total message count > activationDepthThreshold + data.MessageCount = 1 KubectlReplaceWithTemplate(t, data, "jobTemplate", jobTemplate) require.True(t, WaitForDeploymentReplicaReadyCount(t, kc, deploymentName, testNamespace, 1, 60, 1), "replica count should reach 1 in under 1 minute")