FIX: fixed non-deterministic failing TestHistoryInsert testcase

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