• Filip Filmar's avatar
    [i18n] Reinit icu_util state, correctly · 6f8d7ca4
    Filip Filmar authored
    The old code cleared ICU library internal state between test runs, but
    not the icu_util internal state.  This caused the new ICU configurations
    never to be loaded, since the default behavior of the loader is to make
    loads lazy and idempotent.
    
    Clearing the internal state of icu_util enabled loading new
    ICU data in each individual test case.
    
    This initialization issue may have contributed to arm64 test failures
    that mysteriously came and went a few days back, possibly related to
    test run ordering.
    
    Bug: fuchsia:45491, 1047475
    Change-Id: Ib9290952ea1955b27c752dcaf78a8a6de7fbf77b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042057
    Commit-Queue: Filip Filmar <fmil@google.com>
    Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
    Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#740833}
    6f8d7ca4
time_zone_data_unittest.cc 3.91 KB