Skip to content

Commit d5a1cac

Browse files
committed
Update blob test
1 parent 1aeb063 commit d5a1cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scalers/azure-blob.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test.serial.cb('Deployment should scale to 4 with 2000 blobs on the blob contain
3636
const blobSvc = azure.createBlobService(connectionString)
3737
blobSvc.createContainerIfNotExists('container-name', err => {
3838
t.falsy(err, 'unable to create blob')
39-
async.mapLimit(Array(2000).keys(), 200, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => {
39+
async.mapLimit(Array(2000).keys(), 500, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => {
4040
let replicaCount = '0'
4141
for (let i = 0; i < 10 && replicaCount !== '4'; i++) {
4242
replicaCount = sh.exec(`kubectl get deployment.apps/test-deployment --namespace ${defaultNamespace} -o jsonpath="{.spec.replicas}"`).stdout

0 commit comments

Comments
 (0)