diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-01 10:26:35 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-01 10:26:35 +0200 |
commit | fd2bf36bb69c55aea5c9a3cdafe72db70b74cf32 (patch) | |
tree | 9e333489d6d35cc16307a313f2ced8836bff7ce1 | |
parent | cc0b669aabc7aaebd7dd008852fa08f2c741325e (diff) | |
download | jenkins.debian.net-fd2bf36bb69c55aea5c9a3cdafe72db70b74cf32.tar.xz |
reproducible: s#tbs#to_be_scheduled#g
-rwxr-xr-x | bin/reproducible_scheduler.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 93c3b569..a492d017 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -367,12 +367,12 @@ def scheduler(): now_queued_here[suite] = int(query_db(query)[0][0]) + \ len(untested[suite]+new[suite]+old[suite]) # schedule packages differently in the queue... - tbs = queue_packages({}, untested[suite], datetime.now()) - assert(isinstance(tbs, dict)) - tbs = queue_packages(tbs, new[suite], datetime.now()+timedelta(minutes=-720)) - tbs = queue_packages(tbs, old_ftbfs[suite], datetime.now()+timedelta(minutes=360)) - tbs = queue_packages(tbs, old[suite], datetime.now()+timedelta(minutes=720)) - schedule_packages(tbs) + to_be_scheduled = queue_packages({}, untested[suite], datetime.now()) + assert(isinstance(to_be_scheduled, dict)) + to_be_scheduled = queue_packages(to_be_scheduled, new[suite], datetime.now()+timedelta(minutes=-720)) + to_be_scheduled = queue_packages(to_be_scheduled, old_ftbfs[suite], datetime.now()+timedelta(minutes=360)) + to_be_scheduled = queue_packages(to_be_scheduled, old[suite], datetime.now()+timedelta(minutes=720)) + schedule_packages(to_be_scheduled) log.info('### Suite ' + suite + ' done ###') log.info('==============================================================') # update the scheduled page |