Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2017-11-22 01:28:41 +0300
committerMarek Safar <marek.safar@gmail.com>2017-12-14 11:43:00 +0300
commit4ad5fc61c6a9c80acfea57939641fd8d9c7327da (patch)
tree3504d2248b672a1d8cc2b5a0c8e7b8fd055bf489 /mcs/class/corlib
parent7ac259dc673b66a89c209d5609ed498df4a6b1dc (diff)
[corlib] Mark tests that requires multiple threads with the "MultiThreaded" category.
Diffstat (limited to 'mcs/class/corlib')
-rw-r--r--mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs2
-rw-r--r--mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs3
-rw-r--r--mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentStackTests.cs2
-rw-r--r--mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentQueueTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentStackTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs1
-rw-r--r--mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs4
-rw-r--r--mcs/class/corlib/Test/System.Runtime.CompilerServices/RuntimeHelpersTest.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading/CountdownEventTests.cs2
-rw-r--r--mcs/class/corlib/Test/System.Threading/ManualResetEventSlimTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading/MutexTest.cs2
-rw-r--r--mcs/class/corlib/Test/System.Threading/ReaderWriterLockTest.cs8
-rw-r--r--mcs/class/corlib/Test/System.Threading/SemaphoreSlimTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading/SpinLockTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading/ThreadLocalTests.cs1
-rw-r--r--mcs/class/corlib/Test/System.Threading/ThreadTest.cs18
-rw-r--r--mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs8
-rw-r--r--mcs/class/corlib/Test/System/LazyTest.cs1
-rw-r--r--mcs/class/corlib/Test/System/NumberFormatterTest.cs1
20 files changed, 60 insertions, 0 deletions
diff --git a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs
index 75b2de89aac..8a301bc5b14 100644
--- a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs
+++ b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs
@@ -67,6 +67,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void AddParallelWithoutDuplicateTest ()
{
ParallelTestHelper.Repeat (delegate {
@@ -98,6 +99,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void RemoveParallelTest ()
{
ParallelTestHelper.Repeat (delegate {
diff --git a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs
index a6351e511f3..ff92589f58a 100644
--- a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs
+++ b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs
@@ -50,6 +50,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void StressEnqueueTestCase ()
{
/*ParallelTestHelper.Repeat (delegate {
@@ -79,6 +80,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void StressDequeueTestCase ()
{
/*ParallelTestHelper.Repeat (delegate {
@@ -116,6 +118,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void StressTryPeekTestCase ()
{
ParallelTestHelper.Repeat (delegate {
diff --git a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentStackTests.cs b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentStackTests.cs
index 4086ede09d1..0bc60089b35 100644
--- a/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentStackTests.cs
+++ b/mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentStackTests.cs
@@ -46,6 +46,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void StressPushTestCase ()
{
/*ParallelTestHelper.Repeat (delegate {
@@ -74,6 +75,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void StressPopTestCase ()
{
/*ParallelTestHelper.Repeat (delegate {
diff --git a/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentQueueTests.cs b/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentQueueTests.cs
index 5f5abb60de0..59eeeb95b03 100644
--- a/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentQueueTests.cs
+++ b/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentQueueTests.cs
@@ -43,6 +43,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void CountTestCase()
{
const int numThread = 5;
diff --git a/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentStackTests.cs b/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentStackTests.cs
index ef7758c244d..7568a5da176 100644
--- a/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentStackTests.cs
+++ b/mcs/class/corlib/Test/System.Collections.Concurrent/ParallelConcurrentStackTests.cs
@@ -43,6 +43,7 @@ namespace MonoTests.System.Collections.Concurrent
}
[Test]
+ [Category ("MultiThreaded")]
public void CountTestCase()
{
const int numThread = 5;
diff --git a/mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs b/mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs
index 188fc33b5e8..50aad536457 100644
--- a/mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs
+++ b/mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs
@@ -725,6 +725,7 @@ namespace MonoTests.System.Globalization
}
[Test]
+ [Category ("MultiThreaded")]
public void DefaultThreadCurrentCultureIsIgnoredWhenCultureFlowsToThread ()
{
string us_str = null;
diff --git a/mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs b/mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs
index 5483974809b..a7a8a55fcb8 100644
--- a/mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs
+++ b/mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs
@@ -192,6 +192,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
+ [Category ("MultiThreaded")]
public void Reachability () {
if (GC.MaxGeneration == 0) /*Boehm doesn't handle ephemerons */
Assert.Ignore ("Not working on Boehm.");
@@ -241,6 +242,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
+ [Category ("MultiThreaded")]
public void InsertStress () {
if (GC.MaxGeneration == 0) /*Boehm doesn't handle ephemerons */
Assert.Ignore ("Not working on Boehm.");
@@ -289,6 +291,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
+ [Category ("MultiThreaded")]
public void OldGenStress () {
if (GC.MaxGeneration == 0) /*Boehm doesn't handle ephemerons */
Assert.Ignore ("Not working on Boehm.");
@@ -431,6 +434,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
+ [Category ("MultiThreaded")]
public void FinalizableObjectsThatRetainDeadKeys ()
{
if (GC.MaxGeneration == 0) /*Boehm doesn't handle ephemerons */
diff --git a/mcs/class/corlib/Test/System.Runtime.CompilerServices/RuntimeHelpersTest.cs b/mcs/class/corlib/Test/System.Runtime.CompilerServices/RuntimeHelpersTest.cs
index 108680d10ad..badc2a6501c 100644
--- a/mcs/class/corlib/Test/System.Runtime.CompilerServices/RuntimeHelpersTest.cs
+++ b/mcs/class/corlib/Test/System.Runtime.CompilerServices/RuntimeHelpersTest.cs
@@ -205,6 +205,7 @@ namespace MonoTests.System.Runtime.CompilerServices {
}
[Test]
+ [Category ("MultiThreaded")]
public void TestEnsureSufficientExecutionStack ()
{
var t = new Thread (() => {
diff --git a/mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs b/mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs
index 2bc45681ceb..987016b0f09 100644
--- a/mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs
+++ b/mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs
@@ -984,6 +984,7 @@ namespace MonoTests.System.Threading.Tasks
}
[Test]
+ [Category ("MultiThreaded")]
public void UnobservedExceptionOnFinalizerThreadTest ()
{
bool wasCalled = false;
diff --git a/mcs/class/corlib/Test/System.Threading/CountdownEventTests.cs b/mcs/class/corlib/Test/System.Threading/CountdownEventTests.cs
index 9f1d87cc0d0..1f98c17f1f1 100644
--- a/mcs/class/corlib/Test/System.Threading/CountdownEventTests.cs
+++ b/mcs/class/corlib/Test/System.Threading/CountdownEventTests.cs
@@ -101,6 +101,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void AddCountSignalStressTestCase ()
{
var evt = new CountdownEvent (5);
@@ -352,6 +353,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitTestCase()
{
var evt = new CountdownEvent (5);
diff --git a/mcs/class/corlib/Test/System.Threading/ManualResetEventSlimTests.cs b/mcs/class/corlib/Test/System.Threading/ManualResetEventSlimTests.cs
index b1cb401ef47..b96903485f4 100644
--- a/mcs/class/corlib/Test/System.Threading/ManualResetEventSlimTests.cs
+++ b/mcs/class/corlib/Test/System.Threading/ManualResetEventSlimTests.cs
@@ -83,6 +83,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitTest()
{
int count = 0;
diff --git a/mcs/class/corlib/Test/System.Threading/MutexTest.cs b/mcs/class/corlib/Test/System.Threading/MutexTest.cs
index ee3e5886049..f7d421ae411 100644
--- a/mcs/class/corlib/Test/System.Threading/MutexTest.cs
+++ b/mcs/class/corlib/Test/System.Threading/MutexTest.cs
@@ -124,6 +124,7 @@ namespace MonoTests.System.Threading
*/
[Test]
+ [Category ("MultiThreaded")]
public void TestWaitAndSignal1()
{
Mutex Sem = new Mutex (false);
@@ -143,6 +144,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestWaitAndForget1()
{
Mutex Sem = new Mutex(false);
diff --git a/mcs/class/corlib/Test/System.Threading/ReaderWriterLockTest.cs b/mcs/class/corlib/Test/System.Threading/ReaderWriterLockTest.cs
index ef398486a2a..d9fae5481db 100644
--- a/mcs/class/corlib/Test/System.Threading/ReaderWriterLockTest.cs
+++ b/mcs/class/corlib/Test/System.Threading/ReaderWriterLockTest.cs
@@ -60,6 +60,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestIsReaderLockHeld ()
{
rwlock = new ReaderWriterLock ();
@@ -76,6 +77,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestIsWriterLockHeld ()
{
rwlock = new ReaderWriterLock ();
@@ -157,6 +159,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestReleaseRestoreReaderLock ()
{
rwlock = new ReaderWriterLock ();
@@ -177,6 +180,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestReleaseRestoreWriterLock ()
{
rwlock = new ReaderWriterLock ();
@@ -197,6 +201,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestUpgradeDowngradeLock ()
{
rwlock = new ReaderWriterLock ();
@@ -244,6 +249,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestReaderMustWaitWriter ()
{
// A thread cannot get the reader lock if there are other threads
@@ -286,6 +292,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestBug_55909 ()
{
rwlock = new ReaderWriterLock ();
@@ -313,6 +320,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestBug_55909_bis ()
{
rwlock = new ReaderWriterLock ();
diff --git a/mcs/class/corlib/Test/System.Threading/SemaphoreSlimTests.cs b/mcs/class/corlib/Test/System.Threading/SemaphoreSlimTests.cs
index eb07f467fd0..613f8cad0ef 100644
--- a/mcs/class/corlib/Test/System.Threading/SemaphoreSlimTests.cs
+++ b/mcs/class/corlib/Test/System.Threading/SemaphoreSlimTests.cs
@@ -65,6 +65,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitStressTest()
{
int count = -1;
diff --git a/mcs/class/corlib/Test/System.Threading/SpinLockTests.cs b/mcs/class/corlib/Test/System.Threading/SpinLockTests.cs
index 80865e5eb06..82ca039a059 100644
--- a/mcs/class/corlib/Test/System.Threading/SpinLockTests.cs
+++ b/mcs/class/corlib/Test/System.Threading/SpinLockTests.cs
@@ -111,6 +111,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void LockUnicityTest ()
{
ParallelTestHelper.Repeat (delegate {
diff --git a/mcs/class/corlib/Test/System.Threading/ThreadLocalTests.cs b/mcs/class/corlib/Test/System.Threading/ThreadLocalTests.cs
index b65d150bb58..16b0779d347 100644
--- a/mcs/class/corlib/Test/System.Threading/ThreadLocalTests.cs
+++ b/mcs/class/corlib/Test/System.Threading/ThreadLocalTests.cs
@@ -134,6 +134,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void PerThreadException ()
{
int callTime = 0;
diff --git a/mcs/class/corlib/Test/System.Threading/ThreadTest.cs b/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
index 99a45106e4f..4fcf2cfba71 100644
--- a/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
+++ b/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
@@ -252,6 +252,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #325566
+ [Category ("MultiThreaded")]
public void GetHashCodeTest ()
{
C1Test test1 = new C1Test ();
@@ -281,6 +282,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #82700
+ [Category ("MultiThreaded")]
public void ManagedThreadId ()
{
C1Test test1 = new C1Test ();
@@ -349,6 +351,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestApartmentState ()
{
C2Test test1 = new C2Test();
@@ -461,6 +464,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestIsBackground1 ()
{
C2Test test1 = new C2Test();
@@ -480,6 +484,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestIsBackground2 ()
{
C2Test test1 = new C2Test();
@@ -505,6 +510,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestName()
{
C2Test test1 = new C2Test();
@@ -545,6 +551,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestNestedThreads1()
{
C3Test test1 = new C3Test();
@@ -562,6 +569,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestNestedThreads2()
{
C4Test test1 = new C4Test();
@@ -578,6 +586,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestJoin1()
{
C1Test test1 = new C1Test();
@@ -664,6 +673,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestThreadState ()
{
//TODO: Test The rest of the possible transitions
@@ -768,6 +778,7 @@ namespace MonoTests.System.Threading
#if MONO_FEATURE_THREAD_SUSPEND_RESUME
[Test]
+ [Category ("MultiThreaded")]
public void TestSuspend ()
{
Thread t = new Thread (new ThreadStart (DoCount));
@@ -795,6 +806,7 @@ namespace MonoTests.System.Threading
#if MONO_FEATURE_THREAD_SUSPEND_RESUME && MONO_FEATURE_THREAD_ABORT
[Test]
[Category("NotDotNet")] // On MS, ThreadStateException is thrown on Abort: "Thread is suspended; attempting to abort"
+ [Category ("MultiThreaded")]
public void TestSuspendAbort ()
{
Thread t = new Thread (new ThreadStart (DoCount));
@@ -982,6 +994,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #81720
+ [Category ("MultiThreaded")]
public void IsBackGround ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@@ -1020,6 +1033,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #60031
+ [Category ("MultiThreaded")]
public void StoppedThreadsThrowThreadStateException ()
{
var t = new Thread (() => { });
@@ -1148,6 +1162,7 @@ namespace MonoTests.System.Threading
}
[Test] // bug #81658
+ [Category ("MultiThreaded")]
public void ApartmentState_StoppedThread ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@@ -1251,6 +1266,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void TestTrySetApartmentState ()
{
Thread t1 = new Thread (new ThreadStart (Start));
@@ -1301,6 +1317,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void ThreadStartSimple ()
{
int i = 0;
@@ -1314,6 +1331,7 @@ namespace MonoTests.System.Threading
}
[Test]
+ [Category ("MultiThreaded")]
public void ParametrizedThreadStart ()
{
int i = 0;
diff --git a/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs b/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
index 723da25bebf..7e4ec3d531c 100644
--- a/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
+++ b/mcs/class/corlib/Test/System.Threading/WaitHandleTest.cs
@@ -317,6 +317,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void InterrupedWaitAny ()
{
using (var m1 = new Mutex (true)) {
@@ -345,6 +346,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void InterrupedWaitAll ()
{
using (var m1 = new Mutex (true)) {
@@ -373,6 +375,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void InterrupedWaitOne ()
{
using (var m1 = new Mutex (true)) {
@@ -398,6 +401,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitOneWithAbandonedMutex ()
{
using (var m = new Mutex (false)) {
@@ -432,6 +436,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitOneWithAbandonedMutexAndMultipleThreads ()
{
using (var m = new Mutex (true)) {
@@ -465,6 +470,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitAnyWithSecondMutexAbandoned ()
{
using (var m1 = new Mutex (false)) {
@@ -541,6 +547,7 @@ namespace MonoTests.System.Threading {
#if MONO_FEATURE_THREAD_SUSPEND_RESUME
[Test]
+ [Category ("MultiThreaded")]
public void WaitOneWithTimeoutAndSpuriousWake ()
{
/* This is to test that WaitEvent.WaitOne is not going to wait largely
@@ -600,6 +607,7 @@ namespace MonoTests.System.Threading {
}
[Test]
+ [Category ("MultiThreaded")]
public void WaitAllWithTimeoutAndSpuriousWake ()
{
/* This is to test that WaitEvent.WaitAll is not going to wait largely
diff --git a/mcs/class/corlib/Test/System/LazyTest.cs b/mcs/class/corlib/Test/System/LazyTest.cs
index 0b3e042e309..2ae19db7a9c 100644
--- a/mcs/class/corlib/Test/System/LazyTest.cs
+++ b/mcs/class/corlib/Test/System/LazyTest.cs
@@ -279,6 +279,7 @@ namespace MonoTests.System
}
[Test]
+ [Category ("MultiThreaded")]
public void ConcurrentInitialization ()
{
var init = new AutoResetEvent (false);
diff --git a/mcs/class/corlib/Test/System/NumberFormatterTest.cs b/mcs/class/corlib/Test/System/NumberFormatterTest.cs
index c0dce0e1d54..be7c06e492f 100644
--- a/mcs/class/corlib/Test/System/NumberFormatterTest.cs
+++ b/mcs/class/corlib/Test/System/NumberFormatterTest.cs
@@ -4380,6 +4380,7 @@ namespace MonoTests.System
}
[Test]
+ [Category ("MultiThreaded")]
public void TestInvariantThreading ()
{
Thread[] th = new Thread[4];