This is an automated email from the ASF dual-hosted git repository.

siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c65deb  Reduce the non-determinism in lucene integration test (#5077)
9c65deb is described below

commit 9c65deba0056d668ee9522f286442a8ebec7d4d2
Author: Sidd <[email protected]>
AuthorDate: Mon Feb 17 20:55:41 2020 -0800

    Reduce the non-determinism in lucene integration test (#5077)
---
 .../pinot/integration/tests/LuceneRealtimeClusterIntegrationTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/LuceneRealtimeClusterIntegrationTest.java
 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/LuceneRealtimeClusterIntegrationTest.java
index 73003e5..4d79095 100644
--- 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/LuceneRealtimeClusterIntegrationTest.java
+++ 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/LuceneRealtimeClusterIntegrationTest.java
@@ -108,7 +108,7 @@ public class LuceneRealtimeClusterIntegrationTest extends 
BaseClusterIntegration
         null, null, getTaskConfig(), getStreamConsumerFactoryClassName(),
         1, textIndexColumns);
 
-    // just wait for 1sec for few docs to be loaded
+    // just wait for 2sec for few docs to be loaded
     waitForDocsLoaded(2000L, false );
   }
 
@@ -182,6 +182,7 @@ public class LuceneRealtimeClusterIntegrationTest extends 
BaseClusterIntegration
         Assert.assertTrue(result >= prevResult);
       }
       prevResult = result;
+      Thread.sleep(10);
     }
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to