From: Ronelle Landy <rla...@redhat.com> --- tests/cimi/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index 19f0b2c..aa614d6 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -347,7 +347,7 @@ module CIMI::Test::Methods end cep_json = cep(:accept => :json) - while (get(cep_json.json["machines"]["href"], {:accept=>:json}).include?(machine.json["id"]) && (not machine.json["state"].upcase.eql?("STOPPED")) + while (get(cep_json.json["machines"]["href"], {:accept=>:json}).include?(machine.json["id"]) && (not machine.json["state"].upcase.eql?("STOPPED"))) puts 'waiting for machine to be STOPPED' sleep(3) unless (not get(cep_json.json["machines"]["href"], {:accept=>:json}).include?(machine.json["id"])) -- 1.8.1.4