Commit 51e1569b authored by Michael Kozono's avatar Michael Kozono

Merge branch 'sh-bump-issauble-timeout' into 'master'

Bump Markdown timeout from 3 to 6 seconds in test

Closes #35269

See merge request gitlab-org/gitlab!19408
parents 39c1e1cc 3a4525cf
...@@ -4,7 +4,7 @@ shared_examples_for 'matches_cross_reference_regex? fails fast' do ...@@ -4,7 +4,7 @@ shared_examples_for 'matches_cross_reference_regex? fails fast' do
it 'fails fast for long strings' do it 'fails fast for long strings' do
# took well under 1 second in CI https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/3267#note_172823 # took well under 1 second in CI https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/3267#note_172823
expect do expect do
Timeout.timeout(3.seconds) { mentionable.matches_cross_reference_regex? } Timeout.timeout(6.seconds) { mentionable.matches_cross_reference_regex? }
end.not_to raise_error end.not_to raise_error
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment