mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: fixed non-deterministic failing TestHistoryInsert testcase
This commit is contained in:
@@ -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