Commit 373422dd by Jeremy Bowman Committed by Jeremy Bowman

Mem check and e2e command updates

parent 93558341
...@@ -113,5 +113,5 @@ create-course-ecommerce: ## Generates a course on ecommerce using the configurat ...@@ -113,5 +113,5 @@ create-course-ecommerce: ## Generates a course on ecommerce using the configurat
./course-generator/create-course-ecommerce.sh ./course-generator/test-course.json ./course-generator/create-course-ecommerce.sh ./course-generator/test-course.json
check-memory: check-memory:
@if [ `docker info --format '{{json .}}' | python -c "import sys, json; print json.load(sys.stdin)['MemTotal']"` -lt 2147483648 ]; then echo "\033[0;31mWarning, System Memory is set too low!!! Increase Docker memory to be at least 2 Gigs\033[0m"; fi || exit 0 @if [ `docker info --format '{{json .}}' | python -c "from __future__ import print_function; import sys, json; print(json.load(sys.stdin)['MemTotal'])"` -lt 2147483648 ]; then echo "\033[0;31mWarning, System Memory is set too low!!! Increase Docker memory to be at least 2 Gigs\033[0m"; fi || exit 0
\ No newline at end of file
...@@ -413,7 +413,7 @@ container and run the tests via paver: ...@@ -413,7 +413,7 @@ container and run the tests via paver:
.. code:: sh .. code:: sh
make e2e-shell make e2e-shell
paver e2e_test --exclude=whitelabel paver e2e_test --exclude="whitelabel\|enterprise"
Additional testing options are available as described in the Additional testing options are available as described in the
`edx-e2e-tests README`_. The browser running the tests can be seen and `edx-e2e-tests README`_. The browser running the tests can be seen and
......
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