- factor out test setup and results checking
- properly exercize corner cases of the oldest_scheduled_first policy
Depends on D4896
Differential D4897
Reorganize grab_next_visits tests to better check sorting behavior vlorentz on Jan 20 2021, 5:45 PM. Authored by
Details
Depends on D4896
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4897 (id=17409)Could not rebase; Attempt merge onto 898820fac5... Updating 898820f..e031588 Fast-forward swh/scheduler/backend.py | 48 +++++++++++------- swh/scheduler/tests/test_scheduler.py | 95 ++++++++++++++++++++++++++--------- 2 files changed, 101 insertions(+), 42 deletions(-) Changes applied before testcommit e03158823653265bd5ebcb60d7bcc67c0e8beb4e Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:23:03 2021 +0100 Reorganize grab_next_visits tests to better check sorting behavior - factor out test setup and results checking - properly exercize corner cases of the oldest_scheduled_first policy commit 8bab1ba37aebbb9921e73ffbb17a9cb25a94c264 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:17:17 2021 +0100 Make the grab_next_visits sql query modular This will allow us to easily plug new scheduling policies in that function. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/196/ for more details. Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/211/ Comment Actions Build is green Patch application report for D4897 (id=17458)Could not rebase; Attempt merge onto 9fb0dd6c7c... Updating 9fb0dd6..6ea71f0 Fast-forward swh/scheduler/backend.py | 51 +++++++++++------ swh/scheduler/tests/test_scheduler.py | 104 +++++++++++++++++++++++++--------- 2 files changed, 109 insertions(+), 46 deletions(-) Changes applied before testcommit 6ea71f094c81df4d60a5d5872e4b60c2b4dc0f7c Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:23:03 2021 +0100 Reorganize grab_next_visits tests to better check sorting behavior - factor out test setup and results checking - properly exercize corner cases of the oldest_scheduled_first policy commit b641ac83ebbf0b4d4166034467efa7c591793d50 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:17:17 2021 +0100 Make the grab_next_visits sql query modular This will allow us to easily plug new scheduling policies in that function. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/214/ for more details.
Comment Actions Build has FAILED Patch application report for D4897 (id=17470)Rebasing onto af3789891f... Current branch diff-target is up to date. Changes applied before testcommit 03460207a17d82635ef5a6f12358392143eb9eef Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:23:03 2021 +0100 Reorganize grab_next_visits tests to better check sorting behavior - factor out test setup and results checking - properly exercize corner cases of the oldest_scheduled_first policy Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/218/ Comment Actions Build has FAILED Patch application report for D4897 (id=17470)Rebasing onto af3789891f... Current branch diff-target is up to date. Changes applied before testcommit 03460207a17d82635ef5a6f12358392143eb9eef Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:23:03 2021 +0100 Reorganize grab_next_visits tests to better check sorting behavior - factor out test setup and results checking - properly exercize corner cases of the oldest_scheduled_first policy Link to build: https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/221/ Comment Actions Build is green Patch application report for D4897 (id=17470)Rebasing onto af3789891f... Current branch diff-target is up to date. Changes applied before testcommit 03460207a17d82635ef5a6f12358392143eb9eef Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Wed Jan 20 17:23:03 2021 +0100 Reorganize grab_next_visits tests to better check sorting behavior - factor out test setup and results checking - properly exercize corner cases of the oldest_scheduled_first policy See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/225/ for more details. |