summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yisroel Forta <yforta@google.com> 2024-09-20 23:08:21 +0000
committer Yisroel Forta <yforta@google.com> 2024-09-20 23:15:07 +0000
commit12ea0804c00eb64e9dfe20ba3ff2875136c4d939 (patch)
tree6ff141a6acd647856446cd9ba139ea72d5974aa1 /libs/androidfw/StringPool.cpp
parent21a1d06812766a08a5ac6e6415a1782b540150f6 (diff)
Fix start info clock tests
Both of these tests are flaky due to how quickly the test can run, resulting in the clock not actually advancing as expected. For the ordering test, add a 1ms delay between timestamps thereby guaranteeing that the time advances. For the persistence test, change the check to include equals as a valid pass case. This is ok because it still ensures that the clock was loaded from disk rather than being initialized as new. Test: run each test 15 times, all pass Bug: 361874703 Flag: EXEMPT - test fix Change-Id: I17b0612795b6ffceaaff60c975a951202a6272e4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions