@@ -312,7 +312,7 @@ describe('Sampling Tests:', function() {
312
312
313
313
for ( let x = 0 ; x < requests ; x ++ ) {
314
314
result = await new Promise ( r => api_rules . run ( _event , context , ( e , res ) => { r ( res ) } ) )
315
- await Promise . delay ( Math . random ( ) * 25 )
315
+ await Promise . delay ( 20 )
316
316
} // end for loop
317
317
318
318
// End the timer and restore console.log
@@ -350,7 +350,7 @@ describe('Sampling Tests:', function() {
350
350
351
351
for ( let x = 0 ; x < requests ; x ++ ) {
352
352
result = await new Promise ( r => api_rules . run ( _event , context , ( e , res ) => { r ( res ) } ) )
353
- await Promise . delay ( Math . random ( ) * 25 )
353
+ await Promise . delay ( 20 )
354
354
} // end for loop
355
355
356
356
// End the timer and restore console.log
@@ -389,7 +389,7 @@ describe('Sampling Tests:', function() {
389
389
390
390
for ( let x = 0 ; x < requests ; x ++ ) {
391
391
result = await new Promise ( r => api_rules . run ( _event , context , ( e , res ) => { r ( res ) } ) )
392
- await Promise . delay ( Math . random ( ) * 25 )
392
+ await Promise . delay ( 20 )
393
393
// await Promise.delay(20)
394
394
} // end for loop
395
395
0 commit comments