carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: Delete core/.TestFileFactory.carbondata.crc, core/Testdb.carbon
Date Mon, 19 Dec 2016 13:29:24 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 51463ff2e -> 5e50d0433


Delete core/.TestFileFactory.carbondata.crc,core/Testdb.carbon


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/345fb652
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/345fb652
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/345fb652

Branch: refs/heads/master
Commit: 345fb65256730e53f6d080cf18d135a08ed6b7bd
Parents: 51463ff
Author: chenliang613 <chenliang613@apache.org>
Authored: Mon Dec 19 20:13:01 2016 +0800
Committer: jackylk <jacky.likun@huawei.com>
Committed: Mon Dec 19 21:28:45 2016 +0800

----------------------------------------------------------------------
 .../filesystem/store/impl/FileFactoryImplUnitTest.java       | 8 +++++++-
 .../datastorage/store/filesystem/LocalCarbonFileTest.java    | 4 ++++
 2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/345fb652/core/src/test/java/org/apache/carbondata/core/carbon/datastorage/filesystem/store/impl/FileFactoryImplUnitTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/carbondata/core/carbon/datastorage/filesystem/store/impl/FileFactoryImplUnitTest.java
b/core/src/test/java/org/apache/carbondata/core/carbon/datastorage/filesystem/store/impl/FileFactoryImplUnitTest.java
index 62de46b..8277f91 100644
--- a/core/src/test/java/org/apache/carbondata/core/carbon/datastorage/filesystem/store/impl/FileFactoryImplUnitTest.java
+++ b/core/src/test/java/org/apache/carbondata/core/carbon/datastorage/filesystem/store/impl/FileFactoryImplUnitTest.java
@@ -41,11 +41,17 @@ public class FileFactoryImplUnitTest {
 
   private static String filePath;
 
-  @AfterClass public static void tearDown() {
+  @AfterClass
+  public static void tearDown() {
     File file = new File(filePath);
     if (file.exists()) {
       file.delete();
     }
+
+    File file1 = new File(".TestFileFactory.carbondata.crc");
+    if (file1.exists()) {
+      file1.delete();
+    }
   }
 
   @BeforeClass public static void setUp() {

http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/345fb652/core/src/test/java/org/apache/carbondata/core/datastorage/store/filesystem/LocalCarbonFileTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/carbondata/core/datastorage/store/filesystem/LocalCarbonFileTest.java
b/core/src/test/java/org/apache/carbondata/core/datastorage/store/filesystem/LocalCarbonFileTest.java
index 7b787d4..6ea4a9b 100644
--- a/core/src/test/java/org/apache/carbondata/core/datastorage/store/filesystem/LocalCarbonFileTest.java
+++ b/core/src/test/java/org/apache/carbondata/core/datastorage/store/filesystem/LocalCarbonFileTest.java
@@ -125,6 +125,10 @@ public class LocalCarbonFileTest {
     public void testRenameForce() {
         localCarbonFile = new LocalCarbonFile(file);
         assertTrue(localCarbonFile.renameForce("Testdb.carbon"));
+        File file1 = new File("Testdb.carbon");
+        if (file1.exists()) {
+            file1.delete();
+        }
     }
 
     @Test


Mime
View raw message