drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilooner <...@git.apache.org>
Subject [GitHub] drill pull request #984: DRILL-5783 Made a unit test for generated Priority ...
Date Thu, 26 Oct 2017 18:33:10 GMT
Github user ilooner commented on a diff in the pull request:

    https://github.com/apache/drill/pull/984#discussion_r147229478
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestBugFixes.java ---
    @@ -33,8 +35,11 @@
     @Category(UnlikelyTest.class)
     public class TestBugFixes extends BaseTestQuery {
       private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(TestBugFixes.class);
    -  private static final String WORKING_PATH = TestTools.getWorkingPath();
    -  private static final String TEST_RES_PATH = WORKING_PATH + "/src/test/resources";
    +
    +  @BeforeClass
    +  public static void setupTestFiles() {
    +    dirTestWatcher.copyResourceToRoot("/bugs/DRILL-4192");
    --- End diff --
    
    I have made all the path references relative in the tests now



---

Mime
View raw message