fix(test): Fix TestJobSystem
This commit is contained in:
@@ -22,15 +22,13 @@ public unsafe class TestJobSystem
|
|||||||
[ClassInitialize]
|
[ClassInitialize]
|
||||||
public static void Initialize(TestContext testContext)
|
public static void Initialize(TestContext testContext)
|
||||||
{
|
{
|
||||||
AllocationManager.Initialize(AllocationManagerInitOpts.Default);
|
s_jobScheduler = new JobScheduler(Environment.ProcessorCount);
|
||||||
s_jobScheduler = new JobScheduler(3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[ClassCleanup]
|
[ClassCleanup]
|
||||||
public static void Cleanup()
|
public static void Cleanup()
|
||||||
{
|
{
|
||||||
s_jobScheduler.Dispose();
|
s_jobScheduler.Dispose();
|
||||||
AllocationManager.Dispose();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
|
|||||||
Reference in New Issue
Block a user