Commit Graph

49 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
Carl Schwan 9b2fff5931 refactor(querybuilder): Port away from qb::execute() in tests/ 4 months ago
Daniel Kesselberg af38184b6f
fix: Make DummyJobList.getJobsIterator return an interable instance 4 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Joas Schilling 3e7db013c1
test: Fix non-static data providers 8 months ago
Christoph Wurst 2395526e6c
perf(cron): Delay (re)checking timed jobs 9 months ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Robin Appelman 85b9552617
test: update DummyJobList 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Julien Veyssier 1acc57b5c0
feat(bg-jobs): allow setting a job class list instead of a single class in cron.php and the job worker occ command 2 years ago
Julius Härtl 52eb6d8726
feat(bg-jobs): Allow calling cron.php with a background job class 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Côme Chilliet 303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2 years ago
Louis Chemineau 898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server" 2 years ago
Côme Chilliet 65981f99bf chore: Migrate away from internal Job classes 2 years ago
Christoph Wurst 04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp> 2 years ago
Marcel Klehr 7e790a3297 JobTest: Remove outdated tests 2 years ago
Marcel Klehr 3d8fd2d99e cs:fix 2 years ago
Marcel Klehr 449a731375 Add test for ParallelAwareJob 2 years ago
Marcel Klehr 20cb9935ca Fix tests 3 years ago
Marcel Klehr 06d6cf4ebc JobListTest: Fix JobList constructor call 3 years ago
Marcel Klehr 6148c5e0a1
Update tests/lib/BackgroundJob/DummyJobList.php 3 years ago
Marcel Klehr a0c722ad69 Run cs:Fix 3 years ago
Marcel Klehr 5608b50778 Fix BackgroundJob tests 3 years ago
Marcel Klehr 281c8047b6 JobListTest: clearJobsList before testHasReservedJobs 3 years ago
Marcel Klehr 56cb5d1d13 fix(tests): Remove duplicated method 3 years ago
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs 3 years ago
Côme Chilliet d74044f634
Fix API breakage by using a new method instead 3 years ago
Côme Chilliet 75fca38e66
Fix BackgroundJob list tests 3 years ago
Carl Schwan 48d9c4d2b0
Port existing server code to new interface 3 years ago
Côme Chilliet 0386f4270b
Fix DummyJobList typing 4 years ago
Côme Chilliet 50a7f612d9 Fix DummyJobList class used by tests 4 years ago
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any 4 years ago
Joas Schilling b765f79368
Allow apps to specify if their background job can be delayed 4 years ago
Joas Schilling 9cd9f4b4bc
Move queries to the joblist 4 years ago
Morris Jobke 16d83ab30a
Remove getLastJob from IJobList 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Daniel Kesselberg 018020108b
Make sure to catch php errors during job execution 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 8493f49211
fixup! fixup! Add backgroundjobs to OCP 7 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Noveen Sachdeva 1b1f403a5d
Add duration of last job execution to the table 9 years ago
Roeland Jago Douma c4ef825ceb
Fix getMock JobListTest 9 years ago
Joas Schilling d0a2fa0506
Lock jobs while executing them, to allow multiple executors to run in parallel 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago