Open janvorli opened 4 years ago
From the test:
A wait in a finally block can be interrupted. The .NET Framework applies the same rules as thread abort, and does not allow thread interrupt in a finally block. There is nothing special about thread interrupt that requires not allowing it in finally blocks, so this behavior has changed in .NET Core.
netcore Mono needs to be updated to the new behavior
Moving to 7.0.0
In a CI for the PR #36266, the
System.Threading.Threads.Tests.ThreadTests.InterruptInFinallyBlockTest_SkipOnDesktopFramework
has failed with:https://dev.azure.com/dnceng/public/_build/results?buildId=641049&view=ms.vss-test-web.build-test-results-tab&runId=19915832&resultId=172977&paneView=debug