diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-28 20:45:03 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-28 20:56:49 -0500 |
commit | bbe0fa91d01fb9bc70d54e07ee393e857d92a267 (patch) | |
tree | 28a17f7488b87ff7aae0d91b1aca1a0834c51184 /.rspec | |
parent | 2b1ddb0f807b328aae00b1d9b0fb7f62e8adbe59 (diff) | |
download | gitlab-ce-bbe0fa91d01fb9bc70d54e07ee393e857d92a267.tar.gz |
Prevent transient Capybara timeouts during feature testsrs-transient-capybara-timeout
The problem occurred because asset compilation takes a long time, so
when the asset cache didn't exist and the first test ran, it would often
(randomly) time out during the generation before the actual test even
had a chance to run.
Now we check if the cache exists before the suite runs, and if not, we
manually fire a request to the root URL in order to generate it. This
should allow subsequent tests to use the cached assets.
Diffstat (limited to '.rspec')
0 files changed, 0 insertions, 0 deletions