6db342a87a
The compliance test runner has various macros that process the expectation files before actually checking their contents. Among those macros are i18n helpers, which uses a global message counter to be able to uniquely identify ICU variables. Because of the global nature of this message index, it was susceptible to ordering issues which could result in flaky tests, although it failed very infrequently. This commit resets the global message counter before applying the macros. As a result of this change an expectation file had to be updated; this is actually a bug fix as said test used to fail if run in isolation (if `focusTest: true` was set for that particular testcase). PR Close #40529 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
check_errors.ts | ||
check_expectations.ts | ||
compile_test.ts | ||
di_checks.ts | ||
expect_emit.ts | ||
expected_file_macros.ts | ||
function_checks.ts | ||
get_compliance_tests.ts | ||
golden_partials.ts | ||
i18n_checks.ts | ||
i18n_helpers.ts | ||
sourcemap_helpers.ts | ||
test_runner.ts |