From 26845ef1ae97be3904b2fd85fa06f9a97ccee67c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Sat, 12 Apr 2014 02:09:06 +0000 Subject: [PATCH] Docs: add some example log lines that indicate a lack of memory when running the test suite Docker-DCO-1.1-Signed-off-by: Jean-Baptiste Barth (github: jbbarth) --- docs/sources/contributing/devenvironment.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/sources/contributing/devenvironment.rst b/docs/sources/contributing/devenvironment.rst index 42e6f9be84..fbd47cbed7 100644 --- a/docs/sources/contributing/devenvironment.rst +++ b/docs/sources/contributing/devenvironment.rst @@ -127,6 +127,15 @@ You can use this to select certain tests to run, eg. TESTFLAGS='-run ^TestBuild$' make test +If the output indicates "FAIL" and you see errors like this: + +.. code-block:: text + + server.go:1302 Error: Insertion failed because database is full: database or disk is full + + utils_test.go:179: Error copy: exit status 1 (cp: writing '/tmp/docker-testd5c9-[...]': No space left on device + +Then you likely don't have enough memory available the test suite. 2GB is recommended. Step 6: Use Docker -------------------