Increase number of blobs generated in azure-blob test
@@ -36,7 +36,7 @@ test.serial.cb('Deployment should scale to 2 with 150 blobs on the blob containe
const blobSvc = azure.createBlobService(connectionString)
blobSvc.createContainerIfNotExists('container-name', err => {
t.falsy(err, 'unable to create blob')
- async.mapLimit(Array(150).keys(), 50, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => {
+ async.mapLimit(Array(350).keys(), 50, (n, cb) => blobSvc.createBlockBlobFromText('container-name',`blobsubpath/blob-name-${n}`,'test text', cb), () => {
let replicaCount = '0'
for (let i = 0; i < 40 && replicaCount !== '2'; i++) {
replicaCount = sh.exec(`kubectl get deployment.apps/test-deployment --namespace ${defaultNamespace} -o jsonpath="{.spec.replicas}"`).stdout
@@ -131,7 +131,7 @@ metadata:
spec:
scaleTargetRef:
name: test-deployment
- pollingInterval: 20
+ pollingInterval: 10
maxReplicaCount: 2
cooldownPeriod: 10
triggers:
