dependency update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Make drb server
|
||||
require 'rubygems'
|
||||
require 'drb'
|
||||
require 'pry'
|
||||
#require 'pry'
|
||||
#require File.expand_path('../lib/in_memory_q_counter', File.dirname(__FILE__))
|
||||
# This is a non thread safe replacement for the
|
||||
# couchbase counter mechanism since every test needs
|
||||
@@ -106,5 +106,5 @@ class InMemoryQCounter
|
||||
end
|
||||
drb_port = 9022
|
||||
environment = (%w[production staging development test] & ARGV).first || 'development'
|
||||
DRb.start_service "druby://:#{drb_port}", InMemoryQCounter.new(reload_stats: true, environment: environment)
|
||||
DRb.start_service "druby://:#{drb_port}", InMemoryQCounter.new(reload_stats: false, environment: environment)
|
||||
DRb.thread.join
|
||||
|
||||
Reference in New Issue
Block a user