Skip to content

Commit

Permalink
Update tests/scalers_go/rabbitmq/rabbitmq_queue_amqp/rabbitmq_queue_a…
Browse files Browse the repository at this point in the history
…mqp_test.go
  • Loading branch information
JorTurFer authored Aug 3, 2022
1 parent 0f2d65a commit 270b7de
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,5 @@ func testActivationValue(t *testing.T, kc *kubernetes.Clientset) {
messagesToQueue := 3
RMQPublishMessages(t, rmqNamespace, connectionString, queueName, messagesToQueue)

// Wait for replicas
time.Sleep(60 * time.Second)

assert.True(t, WaitForDeploymentReplicaReadyCount(t, kc, deploymentName, testNamespace, 0, 60, 1),
"replica count should be 0 after 1 minute")
AssertReplicaCountNotChangeDuringTimePeriod(t, kc, deploymentName, testNamespace, 0, 60)
}

0 comments on commit 270b7de

Please sign in to comment.