You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by rl...@redhat.com on 2013/04/04 21:34:40 UTC
[PATCH 2/2] CIMI - Tests - test_helper.rb minor change to cleanup code
From: Ronelle Landy <rl...@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