Browse Source

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 <jeanbaptiste.barth@gmail.com> (github: jbbarth)
Jean-Baptiste Barth 11 years ago
parent
commit
26845ef1ae
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/sources/contributing/devenvironment.rst

+ 9 - 0
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
     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
 Step 6: Use Docker
 -------------------
 -------------------