Repository: tajo Updated Branches: refs/heads/master 044455528 -> 5852cb3b9
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/5852cb3b Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/5852cb3b Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/5852cb3b Branch: refs/heads/master Commit: 5852cb3b9c1c1786a54125f596fc5ab48c0a34eb Parents: 0444555 Author: Hyunsik Choi <[email protected]> Authored: Thu Aug 20 14:55:48 2015 +0900 Committer: Hyunsik Choi <[email protected]> Committed: Thu Aug 20 14:55:48 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/5852cb3b/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 8987225..5033f79 100644 --- a/CHANGES +++ b/CHANGES @@ -229,6 +229,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. i http://git-wip-us.apache.org/repos/asf/tajo/blob/5852cb3b/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();
