File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,6 @@ def self.exception
329329 end
330330
331331 it "Will call a before_first_fork hook only once" do
332- Resque . redis . flushall
333332 $BEFORE_FORK_CALLED = 0
334333 Resque . before_first_fork = Proc . new { $BEFORE_FORK_CALLED += 1 }
335334 workerA = Resque ::Worker . new ( :jobs )
@@ -346,7 +345,6 @@ def self.exception
346345 end
347346
348347 it "Will call a before_fork hook before forking" do
349- Resque . redis . flushall
350348 $BEFORE_FORK_CALLED = false
351349 Resque . before_fork = Proc . new { $BEFORE_FORK_CALLED = true }
352350 workerA = Resque ::Worker . new ( :jobs )
@@ -377,7 +375,6 @@ def self.exception
377375 end
378376
379377 it "Will call an after_fork hook after forking" do
380- Resque . redis . flushall
381378 $AFTER_FORK_CALLED = false
382379 Resque . after_fork = Proc . new { $AFTER_FORK_CALLED = true }
383380 workerA = Resque ::Worker . new ( :jobs )
You can’t perform that action at this time.
0 commit comments