deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [2/2] git commit: CIMI - Tests - test_helper.rb minor change to cleanup code
Date Tue, 09 Apr 2013 10:27:31 GMT
CIMI - Tests - test_helper.rb minor change to cleanup code

TrackedAt: http://tracker.deltacloud.org/patch/14563fd62985833eb53ffc2c3c724cc113d975f0


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/ca47929c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/ca47929c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/ca47929c

Branch: refs/remotes/apache/master
Commit: ca47929c066e385dab95cffab5fde0b90da59383
Parents: 8dfb340
Author: Ronelle Landy <rlandy@redhat.com>
Authored: Thu Apr 4 15:32:19 2013 -0400
Committer: marios <marios@redhat.com>
Committed: Tue Apr 9 12:42:01 2013 +0300

----------------------------------------------------------------------
 tests/cimi/test_helper.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ca47929c/tests/cimi/test_helper.rb
----------------------------------------------------------------------
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"]))


Mime
View raw message