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.
|
2018-08-08 11:44:13 -07:00 |
|
Nicole Thomas
|
36a64ab2d8
|
Lint: Remove extra blank line
|
2018-03-19 17:03:25 -04:00 |
|
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.
|
2018-03-19 09:23:22 -07:00 |
|
Gareth J. Greenaway
|
0d4647c2dd
|
Removing unnecessary log.
|
2018-02-21 13:14:05 -08:00 |
|
Gareth J. Greenaway
|
2df1866cc1
|
Adding a internal reset function to scheduler. Calling reset between schedule tests to ensure schedule is empty and it is using defaults.
|
2018-02-21 13:00:19 -08:00 |
|
Gareth J. Greenaway
|
e8b0e64bf5
|
Removing debugging code
|
2018-02-20 11:11:24 -08:00 |
|
Gareth J. Greenaway
|
5a90e6db9e
|
merge conflict
|
2018-02-20 10:42:40 -08:00 |
|
Gareth J. Greenaway
|
1a636b1c71
|
Fixing typo. swapping out a format string for an additional with datetime.timedelta.
|
2018-02-20 10:34:57 -08:00 |
|
Gareth J. Greenaway
|
b5bde4e904
|
Fixing cron based schedule logic up. Removing debugging messages.
|
2018-02-20 10:34:56 -08:00 |
|
Gareth J. Greenaway
|
e9ebfc8226
|
swapping the scheduler to use datetime objects internally
|
2018-02-20 10:34:31 -08:00 |
|
Gareth J. Greenaway
|
5e15c28dfa
|
Swapping skip_job and postpone_job to send time in date string format instead of passing datetie objects across the event bus. Updating tests tto reflect changes. Updating others which fail when run with --scheduler option but run fine individually.
|
2018-02-20 10:01:19 -08:00 |
|
Gareth J. Greenaway
|
d37ac991a6
|
Fixing lint, unused imports
|
2018-02-20 10:01:19 -08:00 |
|
Gareth J. Greenaway
|
2559815eb5
|
Adding tests for after and until . Updating schedule unit tests. Adding skip_reason and friends for those two cases. Moving them to the end for evaluation.
|
2018-02-20 10:01:19 -08:00 |
|
Gareth J. Greenaway
|
f62f93c892
|
Fixing typo. swapping out a format string for an additional with datetime.timedelta.
|
2018-02-20 10:01:18 -08:00 |
|
Gareth J. Greenaway
|
ed898baf37
|
Fixing cron based schedule logic up. Removing debugging messages.
|
2018-02-20 10:01:18 -08:00 |
|
Gareth J. Greenaway
|
bc93552884
|
swapping the scheduler to use datetime objects internally
|
2018-02-20 10:01:18 -08:00 |
|
Gareth J. Greenaway
|
09d960c0cb
|
Updating utils/schedule.py to be able to track when jobs are skipped because of the max_running parameter. This change moves that check out of handle_func and moves it to it's own function. Also updated skip tests to include a test that _skip_reason is included in the results when a job is skipped.
|
2018-02-07 11:39:10 -08:00 |
|
Gareth J. Greenaway
|
a9c36b08ff
|
Gating the cron tests for the scheduler to ensure that the croniter module is installed before we attempt to run these tests
|
2017-12-28 11:21:18 -08:00 |
|
Gareth J. Greenaway
|
2f4653e271
|
Adding tests for cron functionality.
|
2017-12-28 11:21:18 -08:00 |
|
Gareth J. Greenaway
|
63a22349d5
|
Random LOOP_INTERVALS should end at 59 seconds.
|
2017-12-15 08:53:17 -08:00 |
|
Gareth J. Greenaway
|
e55bc75cbe
|
Ensure the default loop_interval of 1 second is used until we override it in the individual tests.
|
2017-12-15 08:53:17 -08:00 |
|
Gareth J. Greenaway
|
da91283886
|
Updates to the schedule to handle cases where the loop_interval is not 1 second
|
2017-12-15 08:53:17 -08:00 |
|
Gareth J. Greenaway
|
c418b14f49
|
Adjusting now times for scheduler tests.
|
2017-12-12 08:37:38 -08:00 |
|
Gareth J. Greenaway
|
98457bca2f
|
Adding a couple simple log messages to see why Jenkins tests are failing
|
2017-12-12 08:37:38 -08:00 |
|
Gareth J. Greenaway
|
9797922c8b
|
Moving scheduler tests into a new location. Adding new TEST_SUITE to runtests.py. Add CLI flag to runtests.py so the scheduler tests can be run invidually.
|
2017-12-12 08:37:38 -08:00 |
|