commit | a8fa0615bde34da3a32f29517aaef2b256de50e7 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Apr 30 10:44:13 2020 -0700 |
committer | Kweku Adams <kwekua@google.com> | Thu Apr 30 10:48:37 2020 -0700 |
tree | f4658367740d351f3efc29d3adaabcc924c27e2b | |
parent | b8d5f9d77b2b63361b607b86b571b9d66cf6a25c [diff] |
Fix job readiness checking. Only mark dynamic constraints as satisfied if there are any dynamic constraints specified, otherwise, JS will bypass the quota check and always consider jobs without dynamic constraints as ready. Bug: 151274168 Test: atest CtsJobSchedulerTestCases Test: atest QuotaControllerTest Change-Id: Ie70c8b1ae138eb063af981ae2b248b1a0bdbdc60