From 21bb301e2d09e51d484c63f108f8bd3809348bfc Mon Sep 17 00:00:00 2001 From: Ritikaa96 Date: Wed, 5 Jan 2022 16:08:40 +0530 Subject: [PATCH] Adding correction to cpu scaler e2e test: adding cpu.test.ts Signed-off-by: Ritikaa96 --- tests/scalers/cpu.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scalers/cpu.test.ts b/tests/scalers/cpu.test.ts index e3167666078..8a1f816a358 100644 --- a/tests/scalers/cpu.test.ts +++ b/tests/scalers/cpu.test.ts @@ -39,12 +39,12 @@ test.serial(`Creating Job should work`, async t => { ) }) -test.serial(`Deployment should scale to 2`, async t => { +test.serial(`Deployment should scale to 5 after 3 minutes`, async t => { const maxReplicaCount = '5' // check replicacount on constant triggering : t.true(await waitForDeploymentReplicaCount(5, 'php-apache', testNamespace, 18, 10000), 'Replica count should be 5 after 180 seconds') }) -test.serial(`Deployment should scale back to 1`, async t => { +test.serial(`Deployment should scale back to 1 after 10 minutes`, async t => { // check for the scale down : t.true(await waitForDeploymentReplicaCount(1, 'php-apache', testNamespace, 60, 10000), 'Replica count should be 1 after 10 minutes') })