Commit 8f2d216a authored by Kevin Jalbert's avatar Kevin Jalbert Committed by Jeremy Morrell

Fix typo (WEB_CONCCURENCY -> WEB_CONCURRENCY) (#517)

parent e5071867
...@@ -29,7 +29,7 @@ detect_memory() { ...@@ -29,7 +29,7 @@ detect_memory() {
warn_bad_web_concurrency() { warn_bad_web_concurrency() {
local concurrency=$((MEMORY_AVAILABLE/WEB_MEMORY)) local concurrency=$((MEMORY_AVAILABLE/WEB_MEMORY))
if [ "$concurrency" -gt "200" ]; then if [ "$concurrency" -gt "200" ]; then
echo "Could not determine a reasonable value for WEB_CONCCURENCY. echo "Could not determine a reasonable value for WEB_CONCURRENCY.
This is likely due to running the Heroku NodeJS buildpack on a non-Heroku This is likely due to running the Heroku NodeJS buildpack on a non-Heroku
platform. platform.
......
...@@ -398,7 +398,7 @@ testConcurrencyCustomLimit() { ...@@ -398,7 +398,7 @@ testConcurrencyCustomLimit() {
# This happens on Dokku for example # This happens on Dokku for example
testConcurrencyTooHigh() { testConcurrencyTooHigh() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=10000000000 capture $(pwd)/profile/WEB_CONCURRENCY.sh LOG_CONCURRENCY=true MEMORY_AVAILABLE=10000000000 capture $(pwd)/profile/WEB_CONCURRENCY.sh
assertCaptured "Could not determine a reasonable value for WEB_CONCCURENCY" assertCaptured "Could not determine a reasonable value for WEB_CONCURRENCY"
assertCaptured "Recommending WEB_CONCURRENCY=1" assertCaptured "Recommending WEB_CONCURRENCY=1"
assertCapturedSuccess assertCapturedSuccess
} }
...@@ -727,7 +727,7 @@ testMultiExport() { ...@@ -727,7 +727,7 @@ testMultiExport() {
testCIEnvVars() { testCIEnvVars() {
compileTest "ci-env-test" compileTest "ci-env-test"
assertCaptured "NODE_ENV: test" assertCaptured "NODE_ENV: test"
assertCapturedSuccess assertCapturedSuccess
} }
testCIEnvVarsOverride() { testCIEnvVarsOverride() {
...@@ -737,7 +737,7 @@ testCIEnvVarsOverride() { ...@@ -737,7 +737,7 @@ testCIEnvVarsOverride() {
compileTest "ci-env-test" "$(mktmpdir)" $env_dir compileTest "ci-env-test" "$(mktmpdir)" $env_dir
assertCaptured "NODE_ENV: banana" assertCaptured "NODE_ENV: banana"
assertCapturedSuccess assertCapturedSuccess
} }
# Utils # Utils
......
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