Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 4 commits
  • 13 files changed
  • 0 commit comments
  • 1 contributor
View
36 Model/InfinitasJob.php
@@ -18,24 +18,6 @@
*/
class InfinitasJob extends InfinitasJobsAppModel {
-/**
- * Additional behaviours that are attached to this model
- *
- * @access public
- * @var array
- */
- public $actsAs = array(
- // 'Libs.Feedable',
- // 'Libs.Rateable'
- );
-
-/**
- * How the default ordering on this model is done
- *
- * @access public
- * @var array
- */
- public $order = array();
public $noTrash = false;
@@ -53,15 +35,6 @@ class InfinitasJob extends InfinitasJobsAppModel {
);
/**
- * hasOne relations for this model
- *
- * @access public
- * @var array
- */
- public $hasOne = array(
- );
-
-/**
* belongsTo relations for this model
*
* @access public
@@ -152,15 +125,6 @@ class InfinitasJob extends InfinitasJobsAppModel {
);
/**
- * hasAndBelongsToMany relations for this model
- *
- * @access public
- * @var array
- */
- public $hasAndBelongsToMany = array(
- );
-
-/**
* overload the construct method so that you can use translated validation
* messages.
*
View
49 Model/InfinitasJobLog.php
@@ -18,39 +18,10 @@
*/
class InfinitasJobLog extends InfinitasJobsAppModel {
-/**
- * Additional behaviours that are attached to this model
- *
- * @access public
- * @var array
- */
- public $actsAs = array(
- // 'Libs.Feedable',
- // 'Libs.Rateable'
- );
-
-/**
- * How the default ordering on this model is done
- *
- * @access public
- * @var array
- */
- public $order = array(
- );
-
-/**
- * hasOne relations for this model
- *
- * @access public
- * @var array
- */
- public $hasOne = array(
- );
/**
* belongsTo relations for this model
*
- * @access public
* @var array
*/
public $belongsTo = array(
@@ -65,29 +36,9 @@ class InfinitasJobLog extends InfinitasJobsAppModel {
);
/**
- * hasMany relations for this model
- *
- * @access public
- * @var array
- */
- public $hasMany = array(
- );
-
-/**
- * hasAndBelongsToMany relations for this model
- *
- * @access public
- * @var array
- */
- public $hasAndBelongsToMany = array(
- );
-
-/**
* overload the construct method so that you can use translated validation
* messages.
*
- * @access public
- *
* @param mixed $id string uuid or id
* @param string $table the table that the model is for
* @param string $ds the datasource being used
View
104 Model/InfinitasJobQueue.php
@@ -18,56 +18,10 @@
*/
class InfinitasJobQueue extends InfinitasJobsAppModel {
-/**
- * The display field for select boxes
- *
- * @access public
- * @var string
- */
- public $displayField = 'name';
-
-/**
- * Additional behaviours that are attached to this model
- *
- * @access public
- * @var array
- */
- public $actsAs = array(
- // 'Libs.Feedable',
- // 'Libs.Rateable'
- );
-
-/**
- * How the default ordering on this model is done
- *
- * @access public
- * @var array
- */
- public $order = array(
- );
-
-/**
- * hasOne relations for this model
- *
- * @access public
- * @var array
- */
- public $hasOne = array(
- );
-
-/**
- * belongsTo relations for this model
- *
- * @access public
- * @var array
- */
- public $belongsTo = array(
- );
/**
* hasMany relations for this model
*
- * @access public
* @var array
*/
public $hasMany = array(
@@ -79,25 +33,15 @@ class InfinitasJobQueue extends InfinitasJobsAppModel {
)
);
-/**
- * hasAndBelongsToMany relations for this model
- *
- * @access public
- * @var array
- */
- public $hasAndBelongsToMany = array(
- );
-
public $findMethods = array(
- 'idFromSlug' => true
+ 'idFromSlug' => true,
+ 'status' => true
);
/**
* overload the construct method so that you can use translated validation
* messages.
*
- * @access public
- *
* @param mixed $id string uuid or id
* @param string $table the table that the model is for
* @param string $ds the datasource being used
@@ -140,9 +84,21 @@ protected function _findIdFromSlug($state, $query = array(), $results = array())
$this->alias . '.' . $this->primaryKey
);
- $query['conditions'] = array(
- $this->alias . '.slug' => $query[0]
- );
+ if (substr($query[0], -1) == '*') {
+ $query['conditions'] = array(
+ $this->alias . '.slug LIKE "' . trim($query[0], '*') . '%"'
+ );
+
+ $query['order'] = array(
+ $this->alias . '.pending_job_count' => 'asc'
+ );
+ } else {
+ $query['conditions'] = array(
+ $this->alias . '.slug' => $query[0]
+ );
+ }
+
+ $query['limit'] = 1;
return $query;
}
@@ -165,14 +121,14 @@ protected function _findIdFromSlug($state, $query = array(), $results = array())
*
* @throws InvalidArgumentException when there is no queue specified
*/
- protected function _findStatus($state, $query = array(), $results = array()) {
+ protected function _findStatus($state, $query, $results = array()) {
if($state == 'before') {
if(empty($query[0])) {
throw new InvalidArgumentException('You must specify the queue');
}
$this->virtualFields['total_job_count'] = String::insert(
- 'SUM(:alias.:pending, :alias.:failed, :alias.:locked, :alias.:completed)',
+ ':alias.:pending + :alias.:failed + :alias.:locked + :alias.:completed',
array(
'alias' => $this->alias,
'pending' => 'pending_job_count',
@@ -194,19 +150,21 @@ protected function _findStatus($state, $query = array(), $results = array()) {
$this->alias . '.slug' => $query[0]
);
- unset($query[0]);
-
return $query;
}
- return array(
- 'outstanding' => $results[$this->alias]['pending_job_count'],
- 'locked' => $results[$this->alias]['locked_job_count'],
- 'failed' => $results[$this->alias]['failed_job_count'],
- 'completed' => $results[$this->alias]['completed_job_count'],
- 'total' => $results[$this->alias]['total_job_count']
- );
+ if (empty($results)) {
+ return array();
+ }
- return $results;
+ $results = $results[0];
+
+ return array(
+ 'outstanding' => $results[$this->alias]['pending_job_count'],
+ 'locked' => $results[$this->alias]['locked_job_count'],
+ 'failed' => $results[$this->alias]['failed_job_count'],
+ 'completed' => $results[$this->alias]['completed_job_count'],
+ 'total' => $results[$this->alias]['total_job_count']
+ );
}
}
View
4 Model/InfinitasJobsAppModel.php
@@ -1,4 +1,8 @@
<?php
+/**
+ *
+ */
+
class InfinitasJobsAppModel extends AppModel {
}
View
19 Test/Case/AllInfinitasJobsTestsTest.php
@@ -0,0 +1,19 @@
+<?php
+App::uses('AllTestsBase', 'Test/Lib');
+
+class AllInfinitasJobsTestsTest extends AllTestsBase {
+
+/**
+ * Suite define the tests for this suite
+ *
+ * @return void
+ */
+ public static function suite() {
+ $suite = new CakeTestSuite('All InfinitasJobs test');
+
+ $path = CakePlugin::path('InfinitasJobs') . 'Test' . DS . 'Case' . DS;
+ $suite->addTestDirectoryRecursive($path);
+
+ return $suite;
+ }
+}
View
109 Test/Case/Controller/InfinitasJobQueuesControllerTest.php
@@ -1,80 +1,39 @@
-<?php
- App::import('lib', 'libs.test/AppControllerTest');
-
- class TestInfinitasJobQueuesController extends AppControllerTestCase {
+<?php
+class TestInfinitasJobQueuesController extends CakeTestCase {
- /**
- * @brief Configuration for the test case
- *
- * Loading fixtures:
- *
- * List all the needed fixtures in the do part of the fixture array.
- * In replace you can overwrite fixtures of other plugins by your own.
- *
- * 'fixtures' => array(
- * 'do' => array(
- * 'SomePlugin.SomeModel
- * ),
- * 'replace' => array(
- * 'Core.User' => 'SomePlugin.User
- * )
- * )
- * @var array
- */
- public $setup = array(
- 'controller' => 'InfinitasJobs.InfinitasJobQueues',
- 'fixtures' => array(
- 'do' => array(
- 'InfinitasJob.InfinitasJobQueue',
- 'InfinitasJob.InfinitasJob',
- 'InfinitasJob.InfinitasJobError'
- )
- )
- );
+ /**
+ * @brief Tests admin_index
+ *
+ * @test Enter description here
+ */
+ public function testAdminIndex() {
- /**
- * @brief Contains a list of test methods to run
- *
- * If it is set to false all the methods will run. Otherwise pass in an array
- * with a list of tests to run.
- *
- * @var mixed
- */
- public $tests = false;
+ }
- /**
- * @brief Tests admin_index
- *
- * @test Enter description here
- */
- public function testAdminIndex() {
-
- }
-
- /**
- * @brief Tests admin_view
- *
- * @test Enter description here
- */
- public function testAdminView() {
-
- }
+ /**
+ * @brief Tests admin_view
+ *
+ * @test Enter description here
+ */
+ public function testAdminView() {
+
+ }
- /**
- * @brief Tests admin_add
- *
- * @test Enter description here
- */
- public function testAdminAdd() {
-
- }
+ /**
+ * @brief Tests admin_add
+ *
+ * @test Enter description here
+ */
+ public function testAdminAdd() {
+
+ }
- /**
- * @brief Tests admin_edit
- *
- * @test Enter description here
- */
- public function testAdminEdit() {
-
- }
- }
+ /**
+ * @brief Tests admin_edit
+ *
+ * @test Enter description here
+ */
+ public function testAdminEdit() {
+
+ }
+}
View
105 Test/Case/Controller/InfinitasJobsControllerTest.php
@@ -1,78 +1,39 @@
<?php
- App::import('lib', 'libs.test/AppControllerTest');
-
- class TestInfinitasJobsController extends AppControllerTestCase {
+class TestInfinitasJobsController extends CakeTestCase {
- /**
- * @brief Configuration for the test case
- *
- * Loading fixtures:
- *
- * List all the needed fixtures in the do part of the fixture array.
- * In replace you can overwrite fixtures of other plugins by your own.
- *
- * 'fixtures' => array(
- * 'do' => array(
- * 'SomePlugin.SomeModel
- * ),
- * 'replace' => array(
- * 'Core.User' => 'SomePlugin.User
- * )
- * )
- * @var array
- */
- public $setup = array(
- 'controller' => 'InfinitasJobs.InfinitasJobs',
- 'fixtures' => array(
- 'do' => array(
- 'InfinitasJob.InfinitasJob'
- )
- )
- );
+ /**
+ * @brief Tests admin_index
+ *
+ * @test Enter description here
+ */
+ public function testAdminIndex() {
- /**
- * @brief Contains a list of test methods to run
- *
- * If it is set to false all the methods will run. Otherwise pass in an array
- * with a list of tests to run.
- *
- * @var mixed
- */
- public $tests = false;
+ }
- /**
- * @brief Tests admin_index
- *
- * @test Enter description here
- */
- public function testAdminIndex() {
-
- }
-
- /**
- * @brief Tests admin_view
- *
- * @test Enter description here
- */
- public function testAdminView() {
-
- }
+ /**
+ * @brief Tests admin_view
+ *
+ * @test Enter description here
+ */
+ public function testAdminView() {
+
+ }
- /**
- * @brief Tests admin_add
- *
- * @test Enter description here
- */
- public function testAdminAdd() {
-
- }
+ /**
+ * @brief Tests admin_add
+ *
+ * @test Enter description here
+ */
+ public function testAdminAdd() {
+
+ }
- /**
- * @brief Tests admin_edit
- *
- * @test Enter description here
- */
- public function testAdminEdit() {
-
- }
- }
+ /**
+ * @brief Tests admin_edit
+ *
+ * @test Enter description here
+ */
+ public function testAdminEdit() {
+
+ }
+}
View
70 Test/Case/Model/InfinitasJobErrorTest.php
@@ -1,52 +1,24 @@
<?php
- App::import('lib', 'libs.test/AppModelTest');
-
- class TestInfinitasJobError extends AppModelTestCase {
+class TestInfinitasJobError extends CakeTestCase {
+
+/**
+ * Fixtures
+ *
+ * @var array
+ */
+ public $fixtures = array(
+ 'plugin.infinitas_jobs.infinitas_job',
+ 'plugin.infinitas_jobs.infinitas_job_queue',
+ 'plugin.infinitas_jobs.infinitas_job_log',
+ );
- /**
- * @brief Configuration for the test case
- *
- * Loading fixtures:
- *
- * List all the needed fixtures in the do part of the fixture array.
- * In replace you can overwrite fixtures of other plugins by your own.
- *
- * 'fixtures' => array(
- * 'do' => array(
- * 'SomePlugin.SomeModel
- * ),
- * 'replace' => array(
- * 'Core.User' => 'SomePlugin.User
- * )
- * )
- * @var array
- */
- public $setup = array(
- 'model' => 'InfinitasJobs.InfinitasJobError',
- 'fixtures' => array(
- 'do' => array(
- 'InfinitasJob.InfinitasJobError',
- 'InfinitasJob.InfinitasJob'
- )
- )
- );
-
- /**
- * @brief Contains a list of test methods to run
- *
- * If it is set to false all the methods will run. Otherwise pass in an array
- * with a list of tests to run.
- *
- * @var mixed
- */
- public $tests = false;
- /**
- * @brief Tests Validation
- *
- * @test Enter description here
- */
- public function testValidation() {
-
- }
- }
+ /**
+ * @brief Tests Validation
+ *
+ * @test Enter description here
+ */
+ public function testValidation() {
+
+ }
+}
View
158 Test/Case/Model/InfinitasJobQueueTest.php
@@ -1,52 +1,112 @@
-<?php
- App::import('lib', 'libs.test/AppModelTest');
-
- class TestInfinitasJobQueue extends AppModelTestCase {
-
- /**
- * @brief Configuration for the test case
- *
- * Loading fixtures:
- *
- * List all the needed fixtures in the do part of the fixture array.
- * In replace you can overwrite fixtures of other plugins by your own.
- *
- * 'fixtures' => array(
- * 'do' => array(
- * 'SomePlugin.SomeModel
- * ),
- * 'replace' => array(
- * 'Core.User' => 'SomePlugin.User
- * )
- * )
- * @var array
- */
- public $setup = array(
- 'model' => 'InfinitasJobs.InfinitasJobQueue',
- 'fixtures' => array(
- 'do' => array(
- 'InfinitasJob.InfinitasJobQueue',
- 'InfinitasJob.InfinitasJob'
+<?php
+class TestInfinitasJobQueue extends CakeTestCase {
+
+/**
+ * Fixtures
+ *
+ * @var array
+ */
+ public $fixtures = array(
+ 'plugin.infinitas_jobs.infinitas_job',
+ 'plugin.infinitas_jobs.infinitas_job_queue',
+ 'plugin.infinitas_jobs.infinitas_job_log',
+ );
+
+ public function setUp() {
+ parent::setUp();
+ $this->InfinitasJobQueue = ClassRegistry::init('InfinitasJobs.InfinitasJobQueue');
+ }
+
+ public function tearDown() {
+ unset($this->InfinitasJobQueue);
+ parent::tearDown();
+ }
+
+
+ /**
+ * @brief Tests Validation
+ *
+ * @test Enter description here
+ */
+ public function testValidation() {
+
+ }
+
+/**
+ * test find id from slug exception
+ *
+ * @expectedException InvalidArgumentException
+ */
+ public function testFindIdFromSlugException() {
+ $this->InfinitasJobQueue->find('idFromSlug');
+ }
+
+/**
+ * test find id from slug
+ */
+ public function testFindIdFromSlug() {
+ $result = $this->InfinitasJobQueue->find('idFromSlug', 'queue1');
+ $this->assertEquals('queue-1', $result);
+
+ $result = $this->InfinitasJobQueue->find('idFromSlug', 'queue2');
+ $this->assertEquals('queue-2', $result);
+
+ $result = $this->InfinitasJobQueue->find('idFromSlug', 'queue*');
+ $this->assertEquals('queue-2', $result);
+
+ $this->assertTrue($this->InfinitasJobQueue->updateAll(
+ array($this->InfinitasJobQueue->alias . '.pending_job_count' => 20),
+ array($this->InfinitasJobQueue->alias . '.id' => 'queue-2')
+ ));
+
+ $result = $this->InfinitasJobQueue->find('idFromSlug', 'queue*');
+ $this->assertEquals('queue-1', $result);
+
+ $result = $this->InfinitasJobQueue->find('idFromSlug', 'foobar');
+ $this->assertFalse($result);
+ }
+
+/**
+ * test find status
+ *
+ * @dataProvider findStatusDataProvider
+ */
+ public function testFindStatus($data, $expected) {
+ $result = $this->InfinitasJobQueue->find('status', $data);
+ $this->assertEquals($expected, $result);
+ }
+
+/**
+ * find status data provider
+ *
+ * @return array
+ */
+ public function findStatusDataProvider() {
+ return array(
+ 'nothing' => array(
+ 'foo-bar',
+ array()
+ ),
+ 'queue 1' => array(
+ 'queue1',
+ array(
+ 'outstanding' => 2,
+ 'locked' => 0,
+ 'failed' => 0,
+ 'completed' => 0,
+ 'total' => 2
+ )
+ ),
+ 'queue 2' => array(
+ 'queue2',
+ array(
+ 'outstanding' => 1,
+ 'locked' => 0,
+ 'failed' => 0,
+ 'completed' => 0,
+ 'total' => 1
)
)
);
-
- /**
- * @brief Contains a list of test methods to run
- *
- * If it is set to false all the methods will run. Otherwise pass in an array
- * with a list of tests to run.
- *
- * @var mixed
- */
- public $tests = false;
-
- /**
- * @brief Tests Validation
- *
- * @test Enter description here
- */
- public function testValidation() {
-
- }
- }
+ }
+}
View
16 Test/Case/Model/InfinitasJobTest.php
@@ -1,7 +1,9 @@
<?php
App::uses('InfintasJob', 'InfintasJobs.Model');
+App::uses('InfinitasJobs_TestJob', 'InfinitasJobs.Lib/Job');
class TestInfinitasJob extends CakeTestCase {
+
/**
* Fixtures
*
@@ -11,20 +13,6 @@ class TestInfinitasJob extends CakeTestCase {
'plugin.infinitas_jobs.infinitas_job',
'plugin.infinitas_jobs.infinitas_job_queue',
'plugin.infinitas_jobs.infinitas_job_log',
- /*'plugin.aqua_modules.aqua_module',
- 'plugin.aqua_modules.core_module',
- 'plugin.aqua_modules.core_module_position',
- 'plugin.aqua_modules.aqua_modules_core_user',
- 'plugin.aqua_companies.aqua_company',
- 'plugin.aqua_companies.aqua_companies_core_user',
- 'plugin.aqua_companies.aqua_user',
-
- 'plugin.users.group',
- 'plugin.themes.theme',
- 'plugin.modules.modules_route',
- 'plugin.routes.route',
- 'plugin.locks.global_lock',
- 'plugin.management.ticket'*/
);
/**
View
47 Test/Fixture/InfinitasJobFixture.php
@@ -2,7 +2,7 @@
/**
* @brief fixture file for InfinitasJob tests.
*
- * @package InfinitasJobs.Fixture
+ * @package .Fixture
* @since 0.9b1
*/
class InfinitasJobFixture extends CakeTestFixture {
@@ -29,5 +29,50 @@ class InfinitasJobFixture extends CakeTestFixture {
);
public $records = array(
+ array(
+ 'id' => 'job-1a',
+ 'infinitas_job_queue_id' => 'queue-1',
+ 'host' => null,
+ 'pid' => null,
+ 'handler' => 'O:21:"InfinitasJobs_TestJob":1:{s:10:"_internals";a:0:{}}',
+ 'attempts' => 0,
+ 'run_at' => '2012-08-13 11:57:22',
+ 'completed' => null,
+ 'locked' => null,
+ 'failed' => null,
+ 'infinitas_job_error_count' => 0,
+ 'created' => '2013-03-22 16:22:20',
+ 'modified' => '2013-03-22 16:22:20'
+ ),
+ array(
+ 'id' => 'job-1b',
+ 'infinitas_job_queue_id' => 'queue-1',
+ 'host' => null,
+ 'pid' => null,
+ 'handler' => 'O:21:"InfinitasJobs_TestJob":1:{s:10:"_internals";a:0:{}}',
+ 'attempts' => 0,
+ 'run_at' => '2012-08-13 11:57:20',
+ 'completed' => null,
+ 'locked' => null,
+ 'failed' => null,
+ 'infinitas_job_error_count' => 0,
+ 'created' => '2013-03-22 16:22:20',
+ 'modified' => '2013-03-22 16:22:20'
+ ),
+ array(
+ 'id' => 'job-2a',
+ 'infinitas_job_queue_id' => 'queue-2',
+ 'host' => null,
+ 'pid' => null,
+ 'handler' => 'O:21:"InfinitasJobs_TestJob":1:{s:10:"_internals";a:0:{}}',
+ 'attempts' => 0,
+ 'run_at' => '2013-03-22 16:22:20',
+ 'completed' => null,
+ 'locked' => null,
+ 'failed' => null,
+ 'infinitas_job_error_count' => 0,
+ 'created' => '2013-03-22 16:22:20',
+ 'modified' => '2013-03-22 16:22:20'
+ ),
);
}
View
18 Test/Fixture/InfinitasJobLogFixture.php
@@ -2,7 +2,7 @@
/**
* @brief fixture file for InfinitasJobLog tests.
*
- * @package InfinitasJobs.Fixture
+ * @package .Fixture
* @since 0.9b1
*/
class InfinitasJobLogFixture extends CakeTestFixture {
@@ -10,11 +10,11 @@ class InfinitasJobLogFixture extends CakeTestFixture {
public $fields = array(
'id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
- 'error' => array('type' => 'boolean', 'null' => false, 'default' => '1', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
+ 'message' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'infinitas_job_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
+ 'error' => array('type' => 'boolean', 'null' => false, 'default' => '1'),
'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
- 'message' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1)
),
@@ -23,12 +23,12 @@ class InfinitasJobLogFixture extends CakeTestFixture {
public $records = array(
array(
- 'id' => '5026ef9a-2a8c-4f56-9112-6fc46318cd70',
- 'error' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
+ 'id' => '514c8475-747c-44cf-9a5a-45316318cd70',
+ 'message' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
'infinitas_job_id' => 'Lorem ipsum dolor sit amet',
- 'created' => '2012-08-12 00:49:46',
- 'modified' => '2012-08-12 00:49:46',
- 'message' => null
- ),
+ 'error' => 1,
+ 'created' => '2013-03-22 16:19:01',
+ 'modified' => '2013-03-22 16:19:01'
+ )
);
}
View
4 Test/Fixture/InfinitasJobQueueFixture.php
@@ -43,7 +43,7 @@ class InfinitasJobQueueFixture extends CakeTestFixture {
'pid' => null,
'created' => '2012-08-13 13:43:56',
'modified' => '2012-08-13 13:43:56',
- 'retry_delay' => null
+ 'retry_delay' => 7200
),
array(
'id' => 'queue-2',
@@ -58,7 +58,7 @@ class InfinitasJobQueueFixture extends CakeTestFixture {
'pid' => null,
'created' => '2012-08-13 13:43:56',
'modified' => '2012-08-13 13:43:56',
- 'retry_delay' => null
+ 'retry_delay' => 7200
),
);
}

No commit comments for this range

Something went wrong with that request. Please try again.