Commits

Zemian Deng committed c565cda

Improved test case.

Comments (0)

Files changed (1)

timemachine-scheduler/src/test/java/integration/timemachine/scheduler/SchedulerTestBase.java

 			// The oldest record should <= 3000ms.
 			Date stopTime = events.get(0).getCreateTime();
 			Date oldestTime = events.get(n - 1).getCreateTime();
-			assertThat(oldestTime.getTime() + 3000L, lessThanOrEqualTo(stopTime.getTime()));
+			assertThat(oldestTime.getTime() + 3500L, lessThanOrEqualTo(stopTime.getTime()));
 		} finally {
 			scheduler.destroy();
 		}