diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-01-29 09:53:04 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-01-29 09:53:04 +0000 |
commit | f5860ce6466bf8934bc01254351bffd005dfeafe (patch) | |
tree | bd4d80d07a30ea82c77dddc1c641d94f78440fcc /app/controllers/registrations_controller.rb | |
parent | 74e1add2fcbd47ec748e04c65d3eb947dba73cf2 (diff) | |
parent | bbe0fa91d01fb9bc70d54e07ee393e857d92a267 (diff) | |
download | gitlab-ce-f5860ce6466bf8934bc01254351bffd005dfeafe.tar.gz |
Merge branch 'rs-transient-capybara-timeout' into 'master'
Prevent transient Capybara timeouts during feature tests
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.
See merge request !2646
Diffstat (limited to 'app/controllers/registrations_controller.rb')
0 files changed, 0 insertions, 0 deletions