FIX: fixed non-deterministic failing TestHistoryInsert testcase

This commit is contained in:
Roland Praml
2016-10-05 21:51:42 +02:00
parent b848587cd3
commit b01ddea781
@@ -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);