fix(test): Fix TestJobSystem

This commit is contained in:
2026-04-04 19:41:49 +09:00
parent 28e921c48d
commit 578da115b9

View File

@@ -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]