You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by ji...@apache.org on 2014/03/25 16:41:22 UTC

git commit: TAJO-708: Test failure after a successful test. (jihoon)

Repository: tajo
Updated Branches:
  refs/heads/master 6a167aeaa -> 5580c1732


TAJO-708: Test failure after a successful test. (jihoon)


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

Branch: refs/heads/master
Commit: 5580c17327d4ffe76391b63ab357888b2cf04d3b
Parents: 6a167ae
Author: Jihoon Son <ji...@apache.org>
Authored: Wed Mar 26 00:41:00 2014 +0900
Committer: Jihoon Son <ji...@apache.org>
Committed: Wed Mar 26 00:41:00 2014 +0900

----------------------------------------------------------------------
 CHANGES.txt                                                      | 2 ++
 .../src/test/java/org/apache/tajo/QueryTestCaseBase.java         | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/5580c173/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4609d08..e568713 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -283,6 +283,8 @@ Release 0.8.0 - unreleased
 
   BUG FIXES
 
+    TAJO-708: Test failure after a successful test. (jihoon)
+
     TAJO-705: CTAS always stores tables with CSV storage type into catalog.
     (jinho)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/5580c173/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/QueryTestCaseBase.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/QueryTestCaseBase.java b/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/QueryTestCaseBase.java
index e8c70ac..65a0d47 100644
--- a/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/QueryTestCaseBase.java
+++ b/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/QueryTestCaseBase.java
@@ -168,14 +168,14 @@ public class QueryTestCaseBase {
   @AfterClass
   public static void tearDownClass() throws ServiceException {
     for (String tableName : createdTableGlobalSet) {
-      client.updateQuery("DROP TABLE IF EXISTS " +tableName + " PURGE");
+      client.updateQuery("DROP TABLE IF EXISTS " +tableName);
     }
     createdTableGlobalSet.clear();
 
     // if the current database is "default", shouldn't drop it.
     if (!currentDatabase.equals(TajoConstants.DEFAULT_DATABASE_NAME)) {
       for (String tableName : catalog.getAllTableNames(currentDatabase)) {
-        client.updateQuery("DROP TABLE IF EXISTS " + tableName + " PURGE");
+        client.updateQuery("DROP TABLE IF EXISTS " + tableName);
       }
 
       client.selectDatabase(TajoConstants.DEFAULT_DATABASE_NAME);