Commit b2de23f4c468f2c128f507919086fc4b605c9f5b

Authored by Diego Camarinha
1 parent 5faff891

Make repository processing wait step fail on errors

It previously kept running forever if the processing never succeeded.

Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
features/step_definitions/repository_steps.rb
... ... @@ -59,6 +59,7 @@ end
59 59  
60 60 Given(/^I wait up for a ready processing$/) do
61 61 while !@repository.has_ready_processing
  62 + expect(@repository.last_processing_state).to_not eq "ERROR"
62 63 sleep(10)
63 64 end
64 65 end
... ...