Commit e990feb0 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch '299174-qe-retry-check-branch-deletion' into 'master'

Add retry to wait for the branch deletion in E2E spec

See merge request gitlab-org/gitlab!55748
parents 4a89c574 0ecf0ff0
......@@ -38,8 +38,12 @@ module QA
end.merge_via_api!
expect(merge_request[:state]).to eq('merged')
# Retry in case the branch deletion takes more time to finish
QA::Support::Retrier.retry_on_exception(max_attempts: 5, sleep_interval: 5) do
expect(project).not_to have_branch(branch)
end
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