diff options
Diffstat (limited to 'qa/qa/resource/events/project.rb')
-rw-r--r-- | qa/qa/resource/events/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/resource/events/project.rb b/qa/qa/resource/events/project.rb index 2560e6b9e3b..410edd417c1 100644 --- a/qa/qa/resource/events/project.rb +++ b/qa/qa/resource/events/project.rb @@ -25,6 +25,10 @@ module QA wait_for_event do events(action: 'pushed').any? { |event| event.dig(:push_data, :commit_title) == commit_message } end + rescue EventNotFoundError + QA::Runtime::Logger.debug("Push events: #{events(action: 'pushed')}") + + raise end def wait_for_push_new_branch(branch_name = self.default_branch) |