diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-17 12:09:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-17 12:09:15 +0000 |
commit | 9a8f801d7352b7965fe690a599410fb50005ce67 (patch) | |
tree | 1e6b3f942dd7ab1f35311b021d181f8e7b14ec7e /doc/development/testing_guide/flaky_tests.md | |
parent | 6fa3630aad333511c687b385c2333e98e09595b4 (diff) | |
download | gitlab-ce-9a8f801d7352b7965fe690a599410fb50005ce67.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/testing_guide/flaky_tests.md')
-rw-r--r-- | doc/development/testing_guide/flaky_tests.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/development/testing_guide/flaky_tests.md b/doc/development/testing_guide/flaky_tests.md index 60fdf3447bd..47ed11d76a2 100644 --- a/doc/development/testing_guide/flaky_tests.md +++ b/doc/development/testing_guide/flaky_tests.md @@ -18,7 +18,13 @@ When a test frequently fails in `master`, should be created. If the test cannot be fixed in a timely fashion, there is an impact on the productivity of all the developers, so it should be placed in quarantine by -assigning the `:quarantine` metadata. +assigning the `:quarantine` metadata with the issue URL. + +```ruby +it 'should succeed', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/12345' do + expect(response).to have_gitlab_http_status(:ok) +end +``` This means it will be skipped unless run with `--tag quarantine`: |