Skip to content

Commit d30ab11

Browse files
tarekghilonatommy
andauthored
Disable NJulianRuleTest on Android (#73030)
Co-authored-by: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
1 parent 4cd3e78 commit d30ab11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2573,7 +2573,10 @@ public static void GetSystemTimeZones_AllTimeZonesHaveOffsetInValidRange()
25732573
// 0x3E, 0x2C, 0x30, 0x2F, 0x30, 0x2C, 0x4A, 0x33, 0x36, 0x35, 0x2F, 0x32, 0x35, 0x0A
25742574
};
25752575

2576-
[ConditionalTheory(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
2576+
// https://github.com/dotnet/runtime/issues/73031 is the tracking issue to investigate the test failure on Android.
2577+
private static bool CanRunNJulianRuleTest => !PlatformDetection.IsLinuxBionic && RemoteExecutor.IsSupported;
2578+
2579+
[ConditionalTheory(nameof(CanRunNJulianRuleTest))]
25772580
[PlatformSpecific(TestPlatforms.AnyUnix)]
25782581
[InlineData("<+00>0<+01>,0/0,J365/25", 1, 1, true)]
25792582
[InlineData("<+00>0<+01>,30/0,J365/25", 31, 1, true)]

0 commit comments

Comments
 (0)