You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by lu...@redhat.com on 2013/03/07 03:18:49 UTC
[PATCH 4/8] * tests/deltacloud/launcher_test.rb: start deltacloudd with -e test
From: David Lutterkort <lu...@redhat.com>
This avoids triggering rerun accidentally; otherwise, we can't kill the
server reliably, plus we're testing a dev-only code path
---
server/tests/deltacloud/launcher_test.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
--
1.8.1.4