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
329
329
end
330
330
331
331
it "Will call a before_first_fork hook only once" do
332
- Resque . redis . flushall
333
332
$BEFORE_FORK_CALLED = 0
334
333
Resque . before_first_fork = Proc . new { $BEFORE_FORK_CALLED += 1 }
335
334
workerA = Resque ::Worker . new ( :jobs )
@@ -346,7 +345,6 @@ def self.exception
346
345
end
347
346
348
347
it "Will call a before_fork hook before forking" do
349
- Resque . redis . flushall
350
348
$BEFORE_FORK_CALLED = false
351
349
Resque . before_fork = Proc . new { $BEFORE_FORK_CALLED = true }
352
350
workerA = Resque ::Worker . new ( :jobs )
@@ -377,7 +375,6 @@ def self.exception
377
375
end
378
376
379
377
it "Will call an after_fork hook after forking" do
380
- Resque . redis . flushall
381
378
$AFTER_FORK_CALLED = false
382
379
Resque . after_fork = Proc . new { $AFTER_FORK_CALLED = true }
383
380
workerA = Resque ::Worker . new ( :jobs )
You can’t perform that action at this time.
0 commit comments