You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2013/02/22 17:15:26 UTC

[1/4] git commit: CIMI: Tests - minor changes to support other providers

CIMI: Tests - minor changes to support other providers

TrackedAt: http://tracker.deltacloud.org/patch/ac660beed6738e8f3021f709024cbef54f7ec267


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

Branch: refs/heads/master
Commit: 10683b4f13f43dc6f54f55db99bc7dc1bbd3b0aa
Parents: bb6aed4
Author: Ronelle Landy <rl...@redhat.com>
Authored: Tue Feb 12 15:32:54 2013 -0500
Committer: marios <ma...@redhat.com>
Committed: Fri Feb 22 18:06:26 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/10683b4f/tests/cimi/part5_test.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/part5_test.rb b/tests/cimi/part5_test.rb
index 566ef26..8f2eea2 100644
--- a/tests/cimi/part5_test.rb
+++ b/tests/cimi/part5_test.rb
@@ -79,7 +79,7 @@ class ManipulateAMachine < CIMI::Test::Spec
   end
 
   it "should have a valid state" do
-    s = Set.new ["RUNNING", "NEW", "PAUSED", "STOPPED", "STARTED"]
+    s = Set.new ["RUNNING", "NEW", "PAUSED", "STOPPED", "STARTED", "CREATING"]
     log.info("machine state: " + machine.state.upcase)
     s.must_include machine.state.upcase
   end
@@ -109,7 +109,7 @@ class ManipulateAMachine < CIMI::Test::Spec
       assert_silent { discover_uri_for("stop","", machine.operations) }
       assert_silent { discover_uri_for("capture","", machine.operations) }
     elsif machine.state.upcase.eql?("STOPPED")
-      assert_silent { discover_uri_for(/\/start/,"", machine.operations) }
+      assert_silent { discover_uri_for("start","", machine.operations) }
       assert_silent  { discover_uri_for("delete","", machine.operations) }
       assert_silent { discover_uri_for("capture","", machine.operations) }
     else