This commit is contained in:
redkale
2024-09-16 11:53:36 +08:00
parent a65f4318f5
commit fcff5ccf7e
6 changed files with 87 additions and 60 deletions

View File

@@ -25,7 +25,7 @@ public class ScheduledTest {
System.out.println("开始执行");
Utility.sleep(2000);
manager.stop("task2");
Utility.sleep(1010);
Utility.sleep(1001);
manager.unschedule(service);
manager.destroy(null);
Assertions.assertEquals(3, service.count1.get());