File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -406,29 +406,25 @@ testMultiExport() {
406406
407407testConcurrency1X () {
408408 MEMORY_AVAILABLE=512 capture $( pwd) /profile/nodejs.sh
409- assertCaptured " Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)"
410- assertCaptured " Recommending WEB_CONCURRENCY=1"
409+ assertEquals " $WEB_CONCURRENCY " " 1"
411410 assertCapturedSuccess
412411}
413412
414413testConcurrency2X () {
415414 MEMORY_AVAILABLE=1024 capture $( pwd) /profile/nodejs.sh
416- assertCaptured " Detected 1024 MB available memory, 512 MB limit per process (WEB_MEMORY)"
417- assertCaptured " Recommending WEB_CONCURRENCY=2"
415+ assertEquals " $WEB_CONCURRENCY " " 2"
418416 assertCapturedSuccess
419417}
420418
421419testConcurrencyPX () {
422420 MEMORY_AVAILABLE=6144 capture $( pwd) /profile/nodejs.sh
423- assertCaptured " Detected 6144 MB available memory, 512 MB limit per process (WEB_MEMORY)"
424- assertCaptured " Recommending WEB_CONCURRENCY=12"
421+ assertEquals " $WEB_CONCURRENCY " " 12"
425422 assertCapturedSuccess
426423}
427424
428425testConcurrencyCustomLimit () {
429426 MEMORY_AVAILABLE=1024 WEB_MEMORY=256 capture $( pwd) /profile/nodejs.sh
430- assertCaptured " Detected 1024 MB available memory, 256 MB limit per process (WEB_MEMORY)"
431- assertCaptured " Recommending WEB_CONCURRENCY=4"
427+ assertEquals " $WEB_CONCURRENCY " " 4"
432428 assertCapturedSuccess
433429}
434430
You can’t perform that action at this time.
0 commit comments