mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
[H2] Use LocalDateTime in H2HistoryTrigger with microsecond precision - fix DbMigrationTest
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user