drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvysotskyi <...@git.apache.org>
Subject [GitHub] drill pull request #927: DRILL-5751: Fix unit tests to use local file system...
Date Thu, 31 Aug 2017 16:36:06 GMT
Github user vvysotskyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/927#discussion_r136373928
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestDynamicUDFSupport.java ---
    @@ -120,8 +132,11 @@ public void testDisableDynamicSupport() throws Exception {
       @Test
       public void testAbsentBinaryInStaging() throws Exception {
         Path staging = getDrillbitContext().getRemoteFunctionRegistry().getStagingArea();
    +    FileSystem fs = getDrillbitContext().getRemoteFunctionRegistry().getFs();
    +    copyJar(fs, jars, staging, default_binary_name);
    --- End diff --
    
    It seems that a source file should be copied here instead of the binary file, since test
checks that binary file is missing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message