You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/07 12:22:16 UTC

[5/8] git commit: * tests/deltacloud/launcher_test.rb: start deltacloudd with -e test

* tests/deltacloud/launcher_test.rb: start deltacloudd with -e test

This avoids triggering rerun accidentally; otherwise, we can't kill the
server reliably, plus we're testing a dev-only code path
TrackedAt: http://tracker.deltacloud.org/patch/ea52c4f1568b31c547d83b5142d6eb25ec57ab22


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

Branch: refs/heads/master
Commit: 5339cd6aca297c738253863574f90c6e87586924
Parents: a21abb9
Author: David Lutterkort <lu...@redhat.com>
Authored: Wed Mar 6 17:42:30 2013 -0800
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Mar 7 12:17:17 2013 +0100

----------------------------------------------------------------------
 server/tests/deltacloud/launcher_test.rb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5339cd6a/server/tests/deltacloud/launcher_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deltacloud/launcher_test.rb b/server/tests/deltacloud/launcher_test.rb
index d06234c..f68521e 100644
--- a/server/tests/deltacloud/launcher_test.rb
+++ b/server/tests/deltacloud/launcher_test.rb
@@ -53,7 +53,7 @@ describe "deltacloudd" do
     pid = Process.fork
     if pid.nil? then
       Dir.chdir(File.join(File.dirname(__FILE__), '..', '..'))
-      exec("./bin/deltacloudd -i mock -p 3011")
+      exec("./bin/deltacloudd -e test -i mock -p 3011")
     else
       Process.detach(pid) && @pids << pid
       wait_for_port_open(3011).must_equal true
@@ -67,7 +67,7 @@ describe "deltacloudd" do
     pid = Process.fork
     if pid.nil? then
       Dir.chdir(File.join(File.dirname(__FILE__), '..', '..'))
-      exec("./bin/deltacloudd -i mock -f deltacloud,cimi,ec2 -p 3011")
+      exec("./bin/deltacloudd -e test -i mock -f deltacloud,cimi,ec2 -p 3011")
     else
       Process.detach(pid) && @pids << pid
       wait_for_port_open(3011).must_equal true
@@ -82,7 +82,7 @@ describe "deltacloudd" do
     pid = Process.fork
     if pid.nil? then
       Dir.chdir(File.join(File.dirname(__FILE__), '..', '..'))
-      exec("./bin/deltacloudd -w -i mock -p 3011")
+      exec("./bin/deltacloudd -e test -w -i mock -p 3011")
     else
       Process.detach(pid) && @pids << pid
       wait_for_port_open(3011).must_equal true