You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -277,9 +277,21 @@ namespace MonoTests.System.Threading
|
||||
//Console.WriteLine ("workItems0:{0} workItems1:{1}", workItems0, workItems1);
|
||||
//Console.WriteLine ("threads:{0}", threads0);
|
||||
|
||||
Assert.AreEqual (N, workItems1 - workItems0, "#1");
|
||||
AssertHelper.GreaterOrEqual ((int)(workItems1 - workItems0), N, "#1");
|
||||
Assert.IsTrue (threads0 > 0, "#2");
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
public void SetMinThreads ()
|
||||
{
|
||||
int workerThreads, cpThreads;
|
||||
int expectedWt = 64, expectedCpt = 64;
|
||||
bool set = ThreadPool.SetMinThreads (expectedWt, expectedCpt);
|
||||
ThreadPool.GetMinThreads (out workerThreads, out cpThreads);
|
||||
Assert.IsTrue (set, "#1");
|
||||
Assert.AreEqual (expectedWt, workerThreads, "#2");
|
||||
Assert.AreEqual (expectedCpt, cpThreads, "#3");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -453,7 +453,6 @@ namespace MonoTests.System.Threading
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("NotWorkingRuntimeInterpreter")]
|
||||
public void TestUndivisibleByPageSizeMaxStackSize ()
|
||||
{
|
||||
const int undivisible_stacksize = 1048573;
|
||||
@@ -835,7 +834,6 @@ namespace MonoTests.System.Threading
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
[Category ("NotWorkingRuntimeInterpreter")]
|
||||
public void Test_Interrupt ()
|
||||
{
|
||||
ManualResetEvent mre = new ManualResetEvent (false);
|
||||
|
Reference in New Issue
Block a user