Skip to content

Commit 66fec60

Browse files
committed
Fixed unit test
1 parent c2c4d06 commit 66fec60

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/Resque/Worker.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ public function work($interval = Resque::DEFAULT_INTERVAL, $blocking = false)
164164
$this->log('Starting blocking with timeout of ' . $interval, self::LOG_VERBOSE);
165165
$this->updateProcLine('Waiting for ' . implode(',', $this->queues) . ' with blocking timeout ' . $interval);
166166
} else {
167-
$this->log('Starting with interval of ' . $interval, self::LOG_VERBOSE);
168167
$this->updateProcLine('Waiting for ' . implode(',', $this->queues) . ' with interval ' . $interval);
169168
}
170169

test/Resque/Tests/WorkerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function testBlockingListPop()
257257
Resque::enqueue('jobs', 'Test_Job_2');
258258

259259
$i = 1;
260-
while($job = $worker->reserve(60))
260+
while($job = $worker->reserve(true, 1))
261261
{
262262
$this->assertEquals('Test_Job_' . $i, $job->payload['class']);
263263

0 commit comments

Comments
 (0)