Pedro Algarvio
|
84a6749f1a
Rename `tests.support.runtests` to `tests.support.runtime`.
|
пре 5 година |
Pedro Algarvio
|
a5c9d9983c
Use `RUNTIME_VARS` instead
|
пре 5 година |
Gareth J. Greenaway
|
be15a286b0
Rework code that handles individual jobs being disabled and scheduler being globally being disabled. Previously disabling the schedule would result in individual jobs being disabled when they were run through eval. This change does not change schedule items.
|
пре 5 година |
Gareth J. Greenaway
|
72466a53bd
Global enable/disable was being ignored
|
пре 5 година |
Gareth J. Greenaway
|
8935e3c58b
Porting #50216 to fluorine.
|
пре 6 година |
rallytime
|
8fed338708
Merge branch '2018.3' into 'fluorine'
|
пре 6 година |
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 година |
Gareth J. Greenaway
|
d232dfb9b7
Update test_eval.py
|
пре 6 година |
Gareth J. Greenaway
|
d8d8559b75
Fixing lint
|
пре 6 година |
Gareth J. Greenaway
|
d2d0622a6d
Back porting #49871 to 2018.3. Adding some additional changes to ensure they are passing on OS X.
|
пре 6 година |
Gareth J. Greenaway
|
adb1e79723
Apply scheduler fixes and tests from #49104 to 2018.3
|
пре 6 година |
Gareth J. Greenaway
|
76f9e4877a
Fixing lint
|
пре 6 година |
Gareth J. Greenaway
|
200e0ea1cf
Updating various scheduler tests to ensure they're passing on OS X
|
пре 6 година |
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 година |
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 година |
rallytime
|
a5358901ab
Rename new test in scheduler tests
|
пре 6 година |
rallytime
|
5ff1ddb0dd
Merge branch '2018.3' into 'fluorine'
|
пре 6 година |
Gareth J. Greenaway
|
aff1b8f6d4
Lint.
|
пре 6 година |
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 година |
Nicole Thomas
|
07291d2c25
Merge branch 'develop' into 46462_global_splay
|
пре 6 година |
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 година |
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 година |
Nicole Thomas
|
36a64ab2d8
Lint: Remove extra blank line
|
пре 6 година |
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 година |
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 година |
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 година |
Gareth J. Greenaway
|
2aa9a84b28
Adding changes from #45323
|
пре 6 година |
Gareth J. Greenaway
|
65561441e5
Add changes from PR #46143 to develop
|
пре 6 година |
Gareth J. Greenaway
|
e23da417d5
Fixing a couple typos. Converting the code to handle after & until to sub functions.
|
пре 6 година |
Gareth J. Greenaway
|
dcc5deaea5
Porting #46084 to Develop
|
пре 6 година |