Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
tasks:test-node: prevent starting dcell multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
niamster committed Mar 22, 2015
1 parent b27c096 commit 7e0f68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/test_node.rb
Expand Up @@ -5,8 +5,6 @@
Celluloid.logger = nil
Celluloid.shutdown_timeout = 1

DCell.start test_options

module TestNode
def self.start
@pid = Process.spawn Gem.ruby, File.expand_path("./spec/test_node_wrap.rb")
Expand Down Expand Up @@ -51,6 +49,8 @@ def self.stop

namespace :testnode do
task :bg do
DCell.start test_options

TestNode.start
TestNode.wait_until_ready
end
Expand Down

0 comments on commit 7e0f68b

Please sign in to comment.