diff --git a/tasks/test_node.rb b/tasks/test_node.rb index f3fb94e..5f982fe 100644 --- a/tasks/test_node.rb +++ b/tasks/test_node.rb @@ -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") @@ -51,6 +49,8 @@ def self.stop namespace :testnode do task :bg do + DCell.start test_options + TestNode.start TestNode.wait_until_ready end