Fix property type IT
Now we retrieve property types from DB every 5 seconds
(see 681384714130e49d747c163c5c3ac70774263e59), so we need longer waits
when running integration tests.
@@ -69,15 +69,12 @@ public class ProfileImportSurfersIT extends BaseIT {
profileService.setPropertyType(propertyType);
//Wait for data to be processed
- Thread.sleep(1000);
+ Thread.sleep(10000);
PropertyType propAlive = profileService.getPropertyType("alive");
Assert.assertNotNull(propAlive);
- //Wait for data to be processed
- Thread.sleep(5000);
-
/*** Surfers Test ***/
ImportConfiguration importConfigSurfers = new ImportConfiguration();
importConfigSurfers.setItemId("2-surfers-test");
