File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ namespace TaskRunnerUnitTest
105105 Assert::AreEqual ((void *)_pOutTaskRunner.Get (), (void *)_pTaskRunner.Get ());
106106 }
107107
108+ #if 0
109+ // 耗时太长,暂时不启用
108110 TEST_METHOD(时间间隔检测)
109111 {
110112 auto _pTaskRunner = SequencedTaskRunner::Create();
@@ -215,6 +217,7 @@ namespace TaskRunnerUnitTest
215217 Assert::IsTrue(nMilliseconds <= (kDelay + kDeviation) && nMilliseconds >= (kDelay - 5), _szTmp);
216218 }
217219 }
220+ #endif
218221
219222 TEST_METHOD (周期性唤醒检查)
220223 {
@@ -580,6 +583,8 @@ namespace TaskRunnerUnitTest
580583 CloseHandle (_hEvent);
581584 }
582585
586+ #if 0
587+ // 耗时太长,暂时不启用
583588 TEST_METHOD(时间间隔检测)
584589 {
585590 auto _pTaskRunner = ThreadTaskRunner::Create();
@@ -690,6 +695,7 @@ namespace TaskRunnerUnitTest
690695 Assert::IsTrue(nMilliseconds <= (kDelay + kDeviation) && nMilliseconds >= (kDelay - 5), _szTmp);
691696 }
692697 }
698+ #endif
693699
694700 TEST_METHOD (周期性唤醒检查)
695701 {
You can’t perform that action at this time.
0 commit comments