You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2019/12/05 00:16:13 UTC

[kudu] 02/02: KUDU-2703: deflake ITClientStress timeouts

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

adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 89ce529e945731c48445db4a6f8af11f9f905aab
Author: Adar Dembo <ad...@cloudera.com>
AuthorDate: Wed Dec 4 14:43:47 2019 -0800

    KUDU-2703: deflake ITClientStress timeouts
    
    These tests have been timing out in TSAN fairly consistently. I see no
    reason why we can't increase the timeouts.
    
    org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
    	at java.lang.Object.wait(Native Method)
    	at java.lang.Object.wait(Object.java:502)
    	at com.stumbleupon.async.Deferred.doJoin(Deferred.java:1136)
    	at com.stumbleupon.async.Deferred.join(Deferred.java:1019)
    	at org.apache.kudu.client.KuduSession.apply(KuduSession.java:81)
    	at org.apache.kudu.client.ITClientStress$3$1.call(ITClientStress.java:164)
    	at org.apache.kudu.client.ITClientStress$3$1.call(ITClientStress.java:151)
    	at org.apache.kudu.client.ITClientStress$1.run(ITClientStress.java:81)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:2038)
    	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
    	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
    	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
    	at org.apache.kudu.client.ITClientStress.runTasks(ITClientStress.java:87)
    	at org.apache.kudu.client.ITClientStress.testMultipleSessions(ITClientStress.java:148)
    
    Change-Id: I3f5f1713be093c3116743c4a72f30f2f6262974e
    Reviewed-on: http://gerrit.cloudera.org:8080/14838
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
    Tested-by: Kudu Jenkins
---
 .../src/test/java/org/apache/kudu/client/ITClientStress.java          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/kudu-client/src/test/java/org/apache/kudu/client/ITClientStress.java b/java/kudu-client/src/test/java/org/apache/kudu/client/ITClientStress.java
index 0f4b288..bf4962e 100644
--- a/java/kudu-client/src/test/java/org/apache/kudu/client/ITClientStress.java
+++ b/java/kudu-client/src/test/java/org/apache/kudu/client/ITClientStress.java
@@ -106,7 +106,7 @@ public class ITClientStress {
    * Impala 2.8 front-end under a high-concurrency workload. Each query
    * starts a new client, fetches scan tokens, and closes the client.
    */
-  @Test(timeout = 60000)
+  @Test(timeout = 300000)
   public void testManyShortClientsGeneratingScanTokens() throws Exception {
     final String TABLE_NAME = "testManyClients";
     final int SECONDS_TO_RUN = 10;
@@ -137,7 +137,7 @@ public class ITClientStress {
    * Stress test which performs upserts from many sessions on different threads
    * sharing the same KuduClient and KuduTable instance.
    */
-  @Test(timeout = 60000)
+  @Test(timeout = 300000)
   public void testMultipleSessions() throws Exception {
     final String TABLE_NAME = "testMultipleSessions";
     final int SECONDS_TO_RUN = 10;