You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2018/02/28 10:53:20 UTC

incubator-unomi git commit: UNOMI-168 Fix property type IT

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 737741476 -> d8bbbfaa4


UNOMI-168 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.


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/d8bbbfaa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/d8bbbfaa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/d8bbbfaa

Branch: refs/heads/master
Commit: d8bbbfaa4645af3788d93afce88b10152c2d5c22
Parents: 7377414
Author: Jarek Lipski <jl...@jahia.com>
Authored: Mon Feb 26 17:59:59 2018 +0100
Committer: Jarek Lipski <jl...@jahia.com>
Committed: Wed Feb 28 11:50:09 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/unomi/itests/ProfileImportSurfersIT.java    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/d8bbbfaa/itests/src/test/java/org/apache/unomi/itests/ProfileImportSurfersIT.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/unomi/itests/ProfileImportSurfersIT.java b/itests/src/test/java/org/apache/unomi/itests/ProfileImportSurfersIT.java
index 3f6c926..49cee03 100644
--- a/itests/src/test/java/org/apache/unomi/itests/ProfileImportSurfersIT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/ProfileImportSurfersIT.java
@@ -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");