mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 22:59:25 +00:00
Fix clock sync (#1287)
Test only change - Fix clock sync timing issues with tests using -DdbClockDelta
This commit is contained in:
1 parent
10f3d85d9f
commit
3f8b9529e1
5 files changed
+24
-3
No files matched your search
@@ -34,7 +34,7 @@ public class TestHistoryInsert extends BaseTestCase {
|
||||
Ebean.save(user);
|
||||
logger.info("-- initial save");
|
||||
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(DB_CLOCK_DELTA); // wait, so that our system clock can catch up
|
||||
Timestamp afterInsert = new Timestamp(System.currentTimeMillis());
|
||||
|
||||
List<SqlRow> history = fetchHistory(user);
|
||||
|
||||
Reference in new issue
Block a user