Commit ed2fce08 authored by Hunter Loftis's avatar Hunter Loftis

Merge branch 'master' into fully-disable-cache

parents 8e48f2cb bfb75db6
# Node.js Buildpack Changelog
## v81 (2015-09-24)
Supports WEB_CONCURRENCY=28 for Performance-L dynos
## v80 (2015-08-14)
Fixes not defaulting to `NODE_ENV=production` during runtime
......
......@@ -20,10 +20,10 @@ detect_memory() {
local limit=$(ulimit -u)
case $limit in
256) echo "512";; # Standard-1X
512) echo "1024";; # Standard-2X
16384) echo "2560";; # Performance-M
32768) echo "6144";; # Performance-L
256) echo "512";; # Standard-1X
512) echo "1024";; # Standard-2X
16384) echo "2560";; # Performance-M
32768) echo "14336";; # Performance-L
*) echo "$default";;
esac
}
......
......@@ -60,11 +60,11 @@ testConcurrencyPerformanceM() {
assertCapturedSuccess
}
testConcurrencyPX() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=6144 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 6144 MB available memory, 512 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=12"
assertCapturedSuccess
testConcurrencyPerformanceL() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=14336 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 14336 MB available memory, 512 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=28"
assertCapturedSuccess
}
testConcurrencyCustomLimit() {
......@@ -173,7 +173,7 @@ testNoVersion() {
compile "no-version"
assertCaptured "engines.node (package.json): unspecified"
assertCaptured "Resolving node version (latest stable) via semver.io"
assertCaptured "Downloading and installing node 0.12."
assertCaptured "Downloading and installing node 4."
assertCapturedSuccess
}
......@@ -201,7 +201,7 @@ testUnstableVersion() {
testOldNpm() {
compile "old-npm"
assertCaptured "This version of npm (1.2.8000) has several known issues - consider upgrading to the latest release (2."
assertCaptured "This version of npm (1.2.8000) has several known issues - consider upgrading to the latest release (3."
assertNotCaptured "integer expression expected"
assertCapturedError
}
......@@ -277,7 +277,7 @@ testDangerousRangeStar() {
compile "dangerous-range-star"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version * via semver.io"
assertCaptured "Downloading and installing node 0.12."
assertCaptured "Downloading and installing node 4."
assertCapturedError
}
......@@ -285,14 +285,14 @@ testDangerousRangeGreaterThan() {
compile "dangerous-range-greater-than"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version >0.4 via semver.io"
assertCaptured "Downloading and installing node 0.12"
assertCaptured "Downloading and installing node 4."
assertCapturedError
}
testRangeWithSpace() {
compile "range-with-space"
assertCaptured "Resolving node version >= 0.8.x via semver.io"
assertCaptured "Downloading and installing node 0.12"
assertCaptured "Downloading and installing node 4."
assertCapturedSuccess
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment