mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-26 23:22:57 +00:00
FIX: fixed non-deterministic failing TestHistoryInsert testcase
This commit is contained in:
1 parent
b848587cd3
commit
b01ddea781
1 file changed
+1
@@ -54,6 +54,7 @@ public class TestHistoryInsert extends BaseTestCase {
|
||||
|
||||
user.setName("Jim v3");
|
||||
user.setEmail("three@email.com");
|
||||
Thread.sleep(10); // otherwise the timestamp of "whenModified" may not change
|
||||
Ebean.save(user);
|
||||
|
||||
history = fetchHistory(user);
|
||||
|
||||
Reference in new issue
Block a user