From c7889b98d2eaca1e701b5037e0cb4696a98d53cd Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Wed, 20 Apr 2022 11:22:24 +0700 Subject: [PATCH] Revert "ICU4N.Tests.Collation.Dev.Test.Collate.CollationServiceTest::TestRegisterFactory(): Enabled testing on Linux. Fixes #37." This reverts commit f861ee3dc2c63b71ab4417b1d01d1435cf72d020. --- .../Dev/Test/Collate/CollationServiceTest.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ICU4N.Tests.Collation/Dev/Test/Collate/CollationServiceTest.cs b/tests/ICU4N.Tests.Collation/Dev/Test/Collate/CollationServiceTest.cs index d61431c6f..3a7343385 100644 --- a/tests/ICU4N.Tests.Collation/Dev/Test/Collate/CollationServiceTest.cs +++ b/tests/ICU4N.Tests.Collation/Dev/Test/Collate/CollationServiceTest.cs @@ -239,6 +239,12 @@ public override ICollection GetSupportedLocaleIDs() [Test] public void TestRegisterFactory() { + +#if NET5_0_OR_GREATER || NETCOREAPP1_0_OR_GREATER + if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + Assert.Ignore("ICU4N TODO: Fails on Ubuntu 18.04 and Ubuntu 20.04 on .NET 5 and higher. See: https://github.com/NightOwl888/ICU4N/issues/37"); +#endif + UCultureInfo fu_FU = new UCultureInfo("fu_FU"); UCultureInfo fu_FU_FOO = new UCultureInfo("fu_FU_FOO");