Commit d42a4b2
committed
Disable various failing tests
I believe these tests are failing because some other tests are mutating the global cached current locale or calendar.
We've identified most tests whose test expectations depend on the current locale. We've addressed them by either specifying a fixed locale on the tests, or guard them inside `usingCurrentInternationalizationPreferences`. But even if a test doesn't assert the result based on the value of the current locale, the test might still cause the cache to be populated concurrently at the time of accessing autoupdating and current locale, and subsequently break tests that expect a given value of the current locale.
Disable the tests for now while investigating a proper way to update the tests. These tests pass when building as part of the Darwin SDK, so leave them enabled there.
1554766001 parent 183d842 commit d42a4b2
File tree
2 files changed
+8
-4
lines changed- Tests/FoundationInternationalizationTests/Formatting
2 files changed
+8
-4
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
1408 | 1409 | | |
1409 | 1410 | | |
1410 | 1411 | | |
| 1412 | + | |
1411 | 1413 | | |
1412 | 1414 | | |
1413 | 1415 | | |
| |||
1435 | 1437 | | |
1436 | 1438 | | |
1437 | 1439 | | |
| 1440 | + | |
1438 | 1441 | | |
1439 | 1442 | | |
1440 | 1443 | | |
| |||
1447 | 1450 | | |
1448 | 1451 | | |
1449 | 1452 | | |
| 1453 | + | |
1450 | 1454 | | |
1451 | 1455 | | |
1452 | 1456 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1820 | 1820 | | |
1821 | 1821 | | |
1822 | 1822 | | |
1823 | | - | |
| 1823 | + | |
1824 | 1824 | | |
1825 | 1825 | | |
1826 | 1826 | | |
| |||
1860 | 1860 | | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | | - | |
| 1863 | + | |
1864 | 1864 | | |
1865 | 1865 | | |
1866 | 1866 | | |
| |||
0 commit comments