Gareth J. Greenaway
|
345eaa8e8b
Removing the check to see if the job is running. Removing the "del self.schedule".
|
5 ani în urmă |
Gareth J. Greenaway
|
ba19d13eca
fixing lint
|
5 ani în urmă |
Gareth J. Greenaway
|
e2f3e3d67b
Updating all scheduler integration tests to not run in the background so we are sure they will finish. Adding a function to see if a job is still running and updating various multiple part tests to check if the previous job is running before running the next job.
|
5 ani în urmă |
Gareth J. Greenaway
|
fbc83a7533
Updating the max_running function to assume run=True if the value is not available, this fixes the run_job function. Adding a test for run_job.
|
5 ani în urmă |
Gareth J. Greenaway
|
72466a53bd
Global enable/disable was being ignored
|
5 ani în urmă |
Gareth J. Greenaway
|
8935e3c58b
Porting #50216 to fluorine.
|
6 ani în urmă |
rallytime
|
8fed338708
Merge branch '2018.3' into 'fluorine'
|
6 ani în urmă |
Gareth J. Greenaway
|
685509fae3
Fixing an issue when a combination of the when parameter as a list plus using the splay parameter would cause the schedule to continuously run jobs in an endless loop, regardless of if their scheduled time had been receached. Also fixing a related issue where scheduled jobs that rely on _next_fire_time were not being run as the corrected splayed time but rather running at the original scheduled time. Adding new tests.
|
6 ani în urmă |
Gareth J. Greenaway
|
d232dfb9b7
Update test_eval.py
|
6 ani în urmă |
Gareth J. Greenaway
|
d8d8559b75
Fixing lint
|
6 ani în urmă |
Gareth J. Greenaway
|
d2d0622a6d
Back porting #49871 to 2018.3. Adding some additional changes to ensure they are passing on OS X.
|
6 ani în urmă |
Gareth J. Greenaway
|
adb1e79723
Apply scheduler fixes and tests from #49104 to 2018.3
|
6 ani în urmă |
Gareth J. Greenaway
|
76f9e4877a
Fixing lint
|
6 ani în urmă |
Gareth J. Greenaway
|
200e0ea1cf
Updating various scheduler tests to ensure they're passing on OS X
|
6 ani în urmă |
Gareth J. Greenaway
|
596e58ba20
Bulking up the seconds, minutes, hours and days eval tests to ensure _next_run_time is correct. Adding a run_seconds_skip to ensure skipping is working with time elements and the _next_fire_time is populated.
|
6 ani în urmă |
Gareth J. Greenaway
|
c68f6bee8e
Do not log about various things like jid_include and max_running unless the job is set to run. If the job contains _seconds, eg. it's using seconds, minutes, hours, etc. then only set the _next_fire_time if the job actually runs. Adding more tests to test simple scenarios when seconds, minutes, hours and days to ensure we get multiple scheduled job runs when they're expected to run.
|
6 ani în urmă |
rallytime
|
a5358901ab
Rename new test in scheduler tests
|
6 ani în urmă |
rallytime
|
5ff1ddb0dd
Merge branch '2018.3' into 'fluorine'
|
6 ani în urmă |
Gareth J. Greenaway
|
aff1b8f6d4
Lint.
|
6 ani în urmă |
Gareth J. Greenaway
|
8935c08141
Fixing a bug that occurs if the "enabled" key is present in the scheduler items dictionary. Adding a test to ensure scheduler runs as expected when that key is present.
|
6 ani în urmă |
Nicole Thomas
|
07291d2c25
Merge branch 'develop' into 46462_global_splay
|
6 ani în urmă |
Gareth J. Greenaway
|
e0da7c799e
Removing some duplicate code when handling "when" schedule items. Moving tests looking for errors in test_errors. Adding new tests to account for other error situations.
|
6 ani în urmă |
Gareth J. Greenaway
|
a82fa7aa7b
Adding the ability to set a global splay for all jobs in the scheduler. Useful for setting splay to internal jobs. Also adding additional integration tests to test global splay as well as per job splay options.
|
6 ani în urmă |
Nicole Thomas
|
36a64ab2d8
Lint: Remove extra blank line
|
6 ani în urmă |
Gareth J. Greenaway
|
5661357288
Fixing a bug that would result in constant changes using the schedule state module when a job was added with run_on_start. Adding an eval test to test run_on_start functionality.
|
6 ani în urmă |
Gareth J. Greenaway
|
da9a9b6e37
Fixing a bug that would result in constant changes using the schedule state module when a job was added with run_on_start. Adding an eval test to test run_on_start functionality.
|
6 ani în urmă |
Gareth J. Greenaway
|
5fe32a9fb3
Fixing a couple typos. Adding missing job name variable into functions that use it in error reporting. Fixing up various strings used in error reporting and logging.
|
6 ani în urmă |
Gareth J. Greenaway
|
2aa9a84b28
Adding changes from #45323
|
6 ani în urmă |
Gareth J. Greenaway
|
65561441e5
Add changes from PR #46143 to develop
|
6 ani în urmă |
Gareth J. Greenaway
|
e23da417d5
Fixing a couple typos. Converting the code to handle after & until to sub functions.
|
6 ani în urmă |