Skip to content

[mono] Test failed: System.Threading.Tests.SynchronizationContextTests.WaitNotificationTest #31977

@MaximLipnin

Description

@MaximLipnin

System.Threading.Tests.SynchronizationContextTests.WaitNotificationTest fails on mono. It's disabled with the reference to the bugzilla bug which was marked as fixed.

    System.Threading.Tests.SynchronizationContextTests.WaitNotificationTest [FAIL]
      System.AggregateException : One or more errors occurred. (Assert.True() Failure
      Expected: True
      Actual:   False)
      ---- Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs(52,0): at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__1()
        /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs(57,0): at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__2()
        /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs(108,0): at System.Threading.Tests.ThreadTestHelpers.RunTestInBackgroundThread(Action test)
        /_/src/libraries/System.Threading/tests/SynchronizationContextTests.cs(47,0): at System.Threading.Tests.SynchronizationContextTests.WaitNotificationTest()
        /_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        ----- Inner Stack Trace -----
        /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs(159,0): at System.Threading.Tests.ThreadTestHelpers.CheckedWait(ManualResetEventSlim e)
        /_/src/libraries/System.Threading/tests/SynchronizationContextTests.cs(64,0): at System.Threading.Tests.SynchronizationContextTests.<>c.<WaitNotificationTest>b__2_0()
        /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs(36,0): at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__0()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions