Skip to content

Commit

Permalink
Update tests/scalers/nsq/nsq_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Matt Ulmer <[email protected]>
  • Loading branch information
Ulminator and JorTurFer authored Nov 5, 2024
1 parent 2286b36 commit 4a6a4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scalers/nsq/nsq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4a6a4a7

Please sign in to comment.