SyncCycleSnapshotTest.SyncCycleSnapshotToValue test fails depending on locale |
||
Issue description
Chrome Version: 69.0.3457.0 (Developer Build) (64-bit)
OS: Win7
What steps will reproduce the problem?
(1) Go to Control Panel -> Region and Language -> Formats and choose format different than English (I've tested with Polish (Poland)).
(2) Run SyncCycleSnapshotTest.SyncCycleSnapshotToValue test.
What happens instead?
[ RUN ] SyncCycleSnapshotTest.SyncCycleSnapshotToValue
../../base/test/values_test_util.cc(54): error: Expected equality of these values:
expected_value
Which is: "0h 30m"
string_value
Which is: "0 g. i 30 min"
short_poll_interval
Stack trace:
Backtrace:
Ordinal0 [0x0000000141017D47+22707527]
Ordinal0 [0x00000001410178EC+22706412]
IsSandboxedProcess [0x0000000142A0D4B5+342137]
Ordinal0 [0x000000014077E0F0+13689072]
../../base/test/values_test_util.cc(54): error: Expected equality of these values:
expected_value
Which is: "3h 0m"
string_value
Which is: "3 g. i 0 min"
long_poll_interval
Stack trace:
Backtrace:
Ordinal0 [0x0000000141017D47+22707527]
Ordinal0 [0x00000001410178EC+22706412]
IsSandboxedProcess [0x0000000142A0D4B5+342137]
Ordinal0 [0x000000014077E160+13689184]
[ FAILED ] SyncCycleSnapshotTest.SyncCycleSnapshotToValue (33 ms)
,
Jun 13 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/172cd65b3db6544185c94fdb296fd61e79577f8c commit 172cd65b3db6544185c94fdb296fd61e79577f8c Author: Tomasz Moniuszko <tmoniuszko@opera.com> Date: Wed Jun 13 14:13:45 2018 Force en_US locale in SyncCycleSnapshotToValue test Bug: 852349 Change-Id: I8367c10390caf2f5eda219eadb958e10e049c4cc Reviewed-on: https://chromium-review.googlesource.com/1098933 Commit-Queue: Tomasz Moniuszko <tmoniuszko@opera.com> Reviewed-by: Tim Schumann <tschumann@chromium.org> Reviewed-by: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#566826} [modify] https://crrev.com/172cd65b3db6544185c94fdb296fd61e79577f8c/components/sync/engine/cycle/sync_cycle_snapshot_unittest.cc
,
Jun 13 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by tschumann@chromium.org
, Jun 13 2018