Repository: tajo Updated Branches: refs/heads/master 4c7c71f08 -> dfb308fde
TAJO-2062: Fix TestQueryResult#testTemporalResultOnClose failure. Closes #948 Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/dfb308fd Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/dfb308fd Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/dfb308fd Branch: refs/heads/master Commit: dfb308fdee3a5aeb5a354dcfa1c8b65fd65a1c1d Parents: 4c7c71f Author: Jinho Kim <[email protected]> Authored: Fri Jan 22 18:20:19 2016 +0900 Committer: Jinho Kim <[email protected]> Committed: Fri Jan 22 18:20:19 2016 +0900 ---------------------------------------------------------------------- CHANGES | 2 ++ .../src/test/java/org/apache/tajo/master/TestQueryResult.java | 3 +++ 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/dfb308fd/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 45be663..c0801cc 100644 --- a/CHANGES +++ b/CHANGES @@ -98,6 +98,8 @@ Release 0.12.0 - unreleased BUG FIXES + TAJO-2062: Fix TestQueryResult#testTemporalResultOnClose failure. (jinho) + TAJO-1921: Hbase Storage can cause NPE when the hbase cluster is restarted. (Byunghwa Yun via hyunsik) http://git-wip-us.apache.org/repos/asf/tajo/blob/dfb308fd/tajo-core-tests/src/test/java/org/apache/tajo/master/TestQueryResult.java ---------------------------------------------------------------------- diff --git a/tajo-core-tests/src/test/java/org/apache/tajo/master/TestQueryResult.java b/tajo-core-tests/src/test/java/org/apache/tajo/master/TestQueryResult.java index ef25e86..3fffae1 100644 --- a/tajo-core-tests/src/test/java/org/apache/tajo/master/TestQueryResult.java +++ b/tajo-core-tests/src/test/java/org/apache/tajo/master/TestQueryResult.java @@ -46,6 +46,9 @@ public class TestQueryResult extends QueryTestCaseBase { assertResultSet(res); cleanupQuery(res); + + // A result data will be deleted asynchronously. + Thread.sleep(1000); assertFalse(testingCluster.getDefaultFileSystem().exists(resultPath)); }
