Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-07-13 17:51:37 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-07-18 19:33:15 +0300
commitfc76ff1051681a7cabc1203043217b617e85f068 (patch)
treef6f77e7dfa4287452e2ca3a5dfdb1cf28a8cde50 /doc/development/testing.md
parent48b976e0973066ebf2f2ffd01b1bb4a7e9d4d040 (diff)
Disable Rails logging in CI test environments
See https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
Diffstat (limited to 'doc/development/testing.md')
-rw-r--r--doc/development/testing.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md
index cf3ea2ccfc2..fc84932354b 100644
--- a/doc/development/testing.md
+++ b/doc/development/testing.md
@@ -479,6 +479,11 @@ slowest test files and try to improve them.
run the suite against MySQL for tags, `master`, and any branch that includes
`mysql` in the name.
- On EE, the test suite always runs both PostgreSQL and MySQL.
+- Rails logging to `log/test.log` is disabled by default in CI [for
+ performance reasons][logging]. To override this setting, provide the
+ `RAILS_ENABLE_TEST_LOG` environment variable.
+
+[logging]: https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
## Spinach (feature) tests