Skip to content
Snippets Groups Projects
Commit c37e867d authored by srosse's avatar srosse
Browse files

OO-3698: wait a little for too fast servers (patch D. Haag)

parent bd1ada7a
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,9 @@ public class LicenseTypeDAOTest extends OlatTestCase { ...@@ -113,6 +113,9 @@ public class LicenseTypeDAOTest extends OlatTestCase {
assertThat(licenseType.getCreationDate()).isNotNull(); assertThat(licenseType.getCreationDate()).isNotNull();
assertThat(licenseType.getLastModified()).isNotNull(); assertThat(licenseType.getLastModified()).isNotNull();
// small delay to be sure the modification time actually differs from the creation date
sleep(100);
// update // update
licenseType = licenseTypeDao.save(licenseType); licenseType = licenseTypeDao.save(licenseType);
dbInstance.commitAndCloseSession(); dbInstance.commitAndCloseSession();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment