瀏覽代碼

Merge pull request #5177 from jbbarth/docs-add-common-errors-for-test-suite

Docs: add some example log lines that indicate a lack of memory when running the test suite
O.S. Tezer 11 年之前
父節點
當前提交
370b935b49
共有 1 個文件被更改,包括 9 次插入0 次删除
  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
 
+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
 -------------------