Commit b2de23f4c468f2c128f507919086fc4b605c9f5b
1 parent
5faff891
Exists in
colab
and in
4 other branches
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,6 +59,7 @@ end | ||
| 59 | 59 | ||
| 60 | Given(/^I wait up for a ready processing$/) do | 60 | Given(/^I wait up for a ready processing$/) do |
| 61 | while !@repository.has_ready_processing | 61 | while !@repository.has_ready_processing |
| 62 | + expect(@repository.last_processing_state).to_not eq "ERROR" | ||
| 62 | sleep(10) | 63 | sleep(10) |
| 63 | end | 64 | end |
| 64 | end | 65 | end |