Skip to content

Commit 50855d8

Browse files
Disable Test_wait_interrupted_user_apc on NAOT due to no support for alertable waits. (#118231)
Co-authored-by: Michal Strehovský <[email protected]>
1 parent e1ebddf commit 50855d8

File tree

1 file changed

+2
-3
lines changed
  • src/tests/baseservices/threading/regressions/115178

1 file changed

+2
-3
lines changed

src/tests/baseservices/threading/regressions/115178/115178.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ as a result of internal interrupt handling.
1616

1717
public class Test_wait_interrupted_user_apc
1818
{
19-
public static bool Run115178Test => TestLibrary.Utilities.IsWindows;
20-
2119
[DllImport("kernel32.dll")]
2220
private static extern IntPtr GetCurrentProcess();
2321

@@ -285,7 +283,8 @@ private static void RunTestInterruptInfiniteWait()
285283
GC.KeepAlive(callback);
286284
}
287285

288-
[ConditionalFact(nameof(Run115178Test))]
286+
[ConditionalFact(typeof(TestLibrary.Utilities), nameof(TestLibrary.Utilities.IsWindows))]
287+
[ActiveIssue("https://github.com/dotnet/runtime/issues/118233", typeof(TestLibrary.Utilities), nameof(TestLibrary.Utilities.IsNativeAot))]
289288
public static int TestEntryPoint()
290289
{
291290
RunTestUsingInfiniteWait();

0 commit comments

Comments
 (0)