tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject tajo git commit: TAJO-1790: TestTajoClientV2::testExecuteQueryAsyncWithListener occasionally is failed.
Date Thu, 20 Aug 2015 05:56:38 GMT
Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 6ed7c6bcb -> b262291df


TAJO-1790: TestTajoClientV2::testExecuteQueryAsyncWithListener occasionally is failed.

Closes #703


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

Branch: refs/heads/branch-0.11.0
Commit: b262291df7a52f27c1ec6a22f5681b401b45020b
Parents: 6ed7c6b
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Thu Aug 20 14:55:48 2015 +0900
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Thu Aug 20 14:56:28 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/b262291d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4566306..3fe2931 100644
--- a/CHANGES
+++ b/CHANGES
@@ -227,6 +227,9 @@ Release 0.11.0 - unreleased
 
   BUG FIXES
 
+    TAJO-1790: TestTajoClientV2::testExecuteQueryAsyncWithListener 
+    occasionally is failed. (hyunsik)
+
     TAJO-1776: Fix Invalid column type in JDBC. (jinho)
 
     TAJO-1781: Join condition is still not found when it exists in OR clause.

http://git-wip-us.apache.org/repos/asf/tajo/blob/b262291d/tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
----------------------------------------------------------------------
diff --git a/tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
b/tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
index 6ba4854..885d89b 100644
--- a/tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
+++ b/tajo-core-tests/src/test/java/org/apache/tajo/client/v2/TestTajoClientV2.java
@@ -188,6 +188,9 @@ public class TestTajoClientV2 extends QueryTestCaseBase {
       Thread.sleep(100);
     }
 
+    // avoid the race condition between future.isDone() and a listener.
+    Thread.sleep(1000);
+
     assertTrue(success.get());
     assertResultSet(resultContainer.get(0));
     resultContainer.get(0).close();


Mime
View raw message