Skip to content

[MT][browser] MutexTests.AbandonExisting timeout #91547

Closed
@ilonatommy

Description

@ilonatommy

After enabling all MT library tests (#91536) fail with:

[FAIL] System.Threading.Tests.MutexTests.AbandonExisting(name: null, waitType: WaitOne, waitCount: 1, notAbandonedWaitIndex: 0, isNotAbandonedWaitObjectSignaled: False, abandonDuringWait: False)
 System.AggregateException : One or more errors occurred. (Result: False (Assert.Throws() Failure
 Expected: typeof(System.Threading.AbandonedMutexException)
 Actual:   (No exception was thrown)))
 ---- System.AggregateException : Result: False (Assert.Throws() Failure
 Expected: typeof(System.Threading.AbandonedMutexException)
 Actual:   (No exception was thrown))
 -------- Assert.Throws() Failure
 Expected: typeof(System.Threading.AbandonedMutexException)
 Actual:   (No exception was thrown)
    at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__1()
    at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__2()
    at System.Threading.Tests.ThreadTestHelpers.RunTestInBackgroundThread(Action test)
    at System.Threading.Tests.MutexTests.AbandonExisting(String name, WaitHandleWaitType waitType, Int32 waitCount, Int32 notAbandonedWaitIndex, Boolean isNotAbandonedWaitObjectSignaled, Boolean abandonDuringWait)
    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 ----- Inner Stack Trace -----
    at System.AssertExtensions.Throws[AbandonedMutexException,Boolean](Func`1 func)
    at System.Threading.Tests.MutexTests.<>c__DisplayClass9_0.<AbandonExisting>b__0()
    at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__0()
 ----- Inner Stack Trace -----
    at System.AssertExtensions.Throws[AbandonedMutexException,Boolean](Func`1 func)
[FAIL] System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows
info: Assert.Throws() Failure
info: Expected: typeof(System.InvalidOperationException)
info: Actual:   (No exception was thrown)
info:    at System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows()
info: --- End of stack trace from previous location ---

Tests got blocked.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions