wiki.techinc.nl/tests/phpunit/includes/jobqueue
Antoine Musso 7fff25afc1 Remove useless sleep() in JobQueueTest
I noticed JobQueueTest::testRootDeduplication takes ~ 6.5 seconds, which
is due to the test method using sleep(1) and being passed the provider
provider_queueLists which yields six items.

The reason is to have the array returned by Job::newRootJobParams() to
have an incread value for 'rootJobTimestamp'.  Instead, just copy the
previous array of parameters and increment the UNIX timestamp and
converting back to TS_MW format.

Change-Id: I75066df73f9f92e56b89eb6d928c41e949a2d6a9
2014-10-24 14:31:00 +02:00
..
JobQueueTest.php Remove useless sleep() in JobQueueTest 2014-10-24 14:31:00 +02:00
JobTest.php
RefreshLinksPartitionTest.php