commit | bd276424b79dd4c3834fcab3581fe0c02b9ca883 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Mon Apr 01 17:49:41 2019 -0400 |
committer | Beverly <beverlyt@google.com> | Mon Apr 01 17:49:41 2019 -0400 |
tree | bd0c696b29300741cb272cf366f91396f277e64a | |
parent | 77ad5ff06305e36b154924be418663bc5a0affea [diff] |
Fix flaky test on daylight savings When it's daylight savings, the one day offset also adds another hour to the calendar. This made it so that the "now" time in the test was no longer within the schedule times so the test would fail. This sets the "now" time so that it will still be within the schedule even with the daylight savings hour. Test: atest ScheduleCalendarTest Fixes: 128296836 Change-Id: Ifc8791a45bf1bb875cb7a91869363f8995f1cdc4