[H2] Use LocalDateTime in H2HistoryTrigger with microsecond precision - fix DbMigrationTest

This commit is contained in:
Rob Bygrave committed 2022-03-01 20:52:39 +13:00
1 parent 52aa1a2d91
commit 6d27e30b88
2 files changed
+8 -7

No files matched your search

@@ -249,12 +249,12 @@ public class DbMigrationTest extends BaseTestCase {
}
private void sleepOneMilli() {
try {
// bit of a hack for H2HistoryTrigger with JDK 11+ JVMs, probably need more than millis precision for H2 history
Thread.sleep(1);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
// try {
// // bit of a hack for H2HistoryTrigger with JDK 11+ JVMs, probably need more than millis precision for H2 history
// Thread.sleep(1);
// } catch (InterruptedException e) {
// throw new RuntimeException(e);
// }
}
private void createHistoryEntities() {