[XHarness] Ignore threadpool tests that make tests deadlock. (#6142)

Ignore the threadpool tests that block our testing applications.

The following mono issue was created: https://github.com/mono/mono/issues/14666
Fixes: https://github.com/xamarin/maccore/issues/1651
This commit is contained in:
Manuel de la Pena 2019-05-28 01:16:15 -07:00 коммит произвёл GitHub
Родитель 50149daa1f
Коммит 2892c1b03a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 4 добавлений и 52 удалений

Просмотреть файл

@ -764,38 +764,6 @@ System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests.Generic_UsedWithAs
System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests.Generic_UsedWithAsyncMethod_CompletesSuccessfully(yields: 2)
System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests.Generic_UsedWithAsyncMethod_CompletesSuccessfully(yields: 10)
System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests.AwaitTasksAndValueTasks_InTaskAndValueTaskMethods
System.Threading.ThreadPools.Tests.ThreadPoolTests.ConcurrentInitializeTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.GetMinMaxThreadsTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.GetAvailableThreadsTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.SetMinMaxThreadsTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.SetMinMaxThreadsTest_ChangedInDotNetCore
System.Threading.ThreadPools.Tests.ThreadPoolTests.SetMinThreadsTo0Test
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueRegisterPositiveAndFlowTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueRegisterNegativeTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_NullValidForState(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_NullValidForState(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_NullValidForState(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_NullValidForState(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ReferenceTypeStateObjectPassedThrough(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ReferenceTypeStateObjectPassedThrough(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ReferenceTypeStateObjectPassedThrough(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ReferenceTypeStateObjectPassedThrough(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ValueTypeStateObjectPassedThrough(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ValueTypeStateObjectPassedThrough(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ValueTypeStateObjectPassedThrough(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ValueTypeStateObjectPassedThrough(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_RunsAsynchronously(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_RunsAsynchronously(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_RunsAsynchronously(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_RunsAsynchronously(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: False, useUnsafe: False)
System.IO.Tests.BufferedStreamFlushTests.ShouldNotFlushUnderlyingStreamIfReadOnly(underlyingCanSeek: True)
System.IO.Tests.BufferedStreamFlushTests.ShouldNotFlushUnderlyingStreamIfReadOnly(underlyingCanSeek: False)
System.IO.Tests.BufferedStreamFlushTests.ShouldAlwaysFlushUnderlyingStreamIfWritable(underlyingCanRead: True, underlyingCanSeek: True)
@ -831,6 +799,8 @@ System.IO.Tests.StreamCopyToTests.AsyncIfLengthIsGreaterThanPositionAndDoesNotOv
System.IO.Tests.StreamCopyToTests.CopyToAsync_StreamToken_InvalidArgsThrows
System.IO.Tests.StreamCopyToTests.CopyToAsync_StreamToken_PrecanceledToken_Cancels
System.IO.Tests.StreamCopyToTests.CopyToAsync_StreamToken_AllDataCopied
# mono issue: https://github.com/mono/mono/issues/14666
KLASS:System.Threading.ThreadPools.Tests.ThreadPoolTests
# tests do crash do to memory issues
KLASS:System.IO.Tests.FileInfo_CopyTo_str_b

Просмотреть файл

@ -210,7 +210,8 @@ System.IO.Tests.BufferedStreamFlushTests.ShouldAlwaysFlushUnderlyingStreamIfWrit
System.IO.Tests.BufferedStreamFlushTests.ShouldAlwaysFlushUnderlyingStreamIfWritable(underlyingCanRead: True, underlyingCanSeek: False)
System.IO.Tests.BufferedStreamFlushTests.ShouldAlwaysFlushUnderlyingStreamIfWritable(underlyingCanRead: False, underlyingCanSeek: True)
System.IO.Tests.BufferedStreamFlushTests.ShouldAlwaysFlushUnderlyingStreamIfWritable(underlyingCanRead: False, underlyingCanSeek: False)
KLASS:System.Threading.ThreadPools.Tests.ThreadPoolTests.ConcurrentInitializeTest
# mono issue: https://github.com/mono/mono/issues/14666
KLASS:System.Threading.ThreadPools.Tests.ThreadPoolTests
KLASS:System.IO.Tests.File_AppendAllTextAsync
KLASS:System.IO.Tests.File_AppendAllTextAsync_Encoded
KLASS:System.IO.Tests.File_AppendAllLinesAsync
@ -253,26 +254,7 @@ System.IO.Tests.File_Exists.UncPathWithoutShareNameAsPath_ReturnsFalse
# Expected: True
# Actual: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_RunsAsynchronously
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ReferenceTypeStateObjectPassedThrough
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_InvalidArguments_Throws(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: True, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: False, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: False, useUnsafe: True)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe(preferLocal: True, useUnsafe: False)
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ExecutionContextFlowedIfSafe
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_ValueTypeStateObjectPassedThrough
System.IO.Tests.FileInfo_Exists.UnsharedFileExists
System.Threading.ThreadPools.Tests.ThreadPoolTests.GetAvailableThreadsTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueRegisterPositiveAndFlowTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueRegisterNegativeTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.ConcurrentInitializeTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.GetMinMaxThreadsTest
System.Threading.ThreadPools.Tests.ThreadPoolTests.QueueUserWorkItem_PreferLocal_NullValidForState
# Exception messages: Timed out after 60000ms waiting for remote process 14899
Expected: True