You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2020/09/20 21:51:56 UTC

[orc] branch branch-1.6 updated: ORC-668. Use `TestSchemaEvolution` as a test file prefix to prevent test failure

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new cf2ed85  ORC-668. Use `TestSchemaEvolution` as a test file prefix to prevent test failure
cf2ed85 is described below

commit cf2ed856cf8c90fec785f21f4bb94b5f04a390d4
Author: William Hyun <wi...@gmail.com>
AuthorDate: Sun Sep 20 14:46:06 2020 -0700

    ORC-668. Use `TestSchemaEvolution` as a test file prefix to prevent test failure
    
    This PR aims to use `TestSchemaEvolution` as a test file prefix to prevent failures during repeated tests.
    
    To help the test.
    
    Repeat the test suite twice.
    
    (cherry picked from commit 2f4f2fed23499b367edb62768d099c18d2e22635)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 java/core/src/test/org/apache/orc/impl/TestSchemaEvolution.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/core/src/test/org/apache/orc/impl/TestSchemaEvolution.java b/java/core/src/test/org/apache/orc/impl/TestSchemaEvolution.java
index 6f9b0d6..1cc653c 100644
--- a/java/core/src/test/org/apache/orc/impl/TestSchemaEvolution.java
+++ b/java/core/src/test/org/apache/orc/impl/TestSchemaEvolution.java
@@ -697,7 +697,7 @@ public class TestSchemaEvolution {
 
   @Test
   public void testTimestampToStringEvolution() throws Exception {
-    testFilePath = new Path(workDir, "TestOrcFile." +
+    testFilePath = new Path(workDir, "TestSchemaEvolution." +
                                          testCaseName.getMethodName() + ".orc");
     TypeDescription schema = TypeDescription.fromString("timestamp");
     Writer writer = OrcFile.createWriter(testFilePath,