Skip to content

Commit

Permalink
Merge pull request #32 from DrMullings/master
Browse files Browse the repository at this point in the history
Fix test_running by trying up to five times
  • Loading branch information
okurz committed Aug 18, 2017
2 parents f35bcb1 + 964902f commit bec24ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/osautoinst/test_running.pm
Expand Up @@ -3,7 +3,7 @@ use base "openQAcoretest";
use testapi;

sub run {
assert_script_run 'openqa-client jobs state=running | grep --color -z running';
assert_script_run ' ret=false; for i in {1..5} ; do openqa-client jobs state=running | grep --color -z running && ret=true && break ; sleep 30 ; done ; [ "$ret" = "true" ] ; echo $? ' ,300;
save_screenshot;
type_string "clear\n";
}
Expand Down

0 comments on commit bec24ec

Please sign in to comment.