Commit Graph

12 Commits

Author SHA1 Message Date
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
b23e5a7db2
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:09 -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
7612a5dd14
Adding test for test_run_after_skip_range. Adding some additional documentation for new scheduler functions. 2017-12-12 14:19:07 -08:00
Gareth J. Greenaway
ef598b3cec
Adding the ability for skip_during_range to work globally. 2017-12-12 08:37:38 -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