commit | eaa58de99152c95f22b094393221627d54477c6b | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Wed Dec 22 15:50:13 2021 +0000 |
committer | Junyu Lai <junyulai@google.com> | Fri Jan 07 06:45:56 2022 +0000 |
tree | aa7f3b67aa99fc7dcac7af9b575a683ded681db5 | |
parent | 392161e651d870c1c5dcf5ff1b1cb5afd029dea4 [diff] |
[MS17.2] Fix remaining daily budget assertion Currently, the test didn't mock data usage of the month. Thus, when asserting remaining budget, the calculation always assumes there is no used data, hence wrong budget value is expected. See #getRemainingDailyBudget. This change makes data usage of this month includes the bytes used today. And adjust the policy limit accordingly. Test: atest MultipathPolicyTrackerTest Bug: 204830222 Change-Id: I3ca6505f8d502047485ba3676f16fbc474117cc1