commit | b1d6448ec4f9af79776cc2e9eb951b659212b0bb | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Wed Mar 15 12:01:22 2017 -0700 |
committer | Christopher Tate <ctate@google.com> | Fri Mar 17 13:45:20 2017 -0700 |
tree | 187401cf1ceabebdde0f392100330e913d5a5040 | |
parent | fe1220933424db688722ca609ed98abef1df262e [diff] |
Correctly check expired jobs against active ones If a job was run before its deadline, and then the deadline landed while the job was still running, b/c of the 'deadline trumps all' it would be considered eligible to run again as soon as the previous iteration completed. Fix this by checking against the state of the active queue. Bug 36253320 Test: CTS: job scheduler TimingConstraintsTest Change-Id: I4f0c1012091bf88776cfe725d7b59f6dcf602c02