From d5a1cac776b9561c900951efd3432f2b5bed51cc Mon Sep 17 00:00:00 2001 From: Ahmed ElSayed Date: Thu, 16 Jan 2020 15:02:43 -0800 Subject: [PATCH] Update blob test --- tests/scalers/azure-blob.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scalers/azure-blob.test.ts b/tests/scalers/azure-blob.test.ts index fb3e9928f12..9a1e6a249c7 100644 --- a/tests/scalers/azure-blob.test.ts +++ b/tests/scalers/azure-blob.test.ts @@ -36,7 +36,7 @@ test.serial.cb('Deployment should scale to 4 with 2000 blobs on the blob contain const blobSvc = azure.createBlobService(connectionString) blobSvc.createContainerIfNotExists('container-name', err => { t.falsy(err, 'unable to create blob') - async.mapLimit(Array(2000).keys(), 200, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => { + async.mapLimit(Array(2000).keys(), 500, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => { let replicaCount = '0' for (let i = 0; i < 10 && replicaCount !== '4'; i++) { replicaCount = sh.exec(`kubectl get deployment.apps/test-deployment --namespace ${defaultNamespace} -o jsonpath="{.spec.replicas}"`).stdout