[ 
https://issues.apache.org/jira/browse/FLINK-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15179852#comment-15179852
 ] 

ASF GitHub Bot commented on FLINK-3569:
---------------------------------------

GitHub user mxm opened a pull request:

    https://github.com/apache/flink/pull/1767

    [FLINK-3569] fix test cases that expect a different working directory

    All the IT cases executed after shading now have the target directory as 
working directory.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mxm/flink FLINK-3569

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1767.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1767
    
----
commit 7a229ab987b36cf341e0d78b6b92aab79a62ea8f
Author: Maximilian Michels <[email protected]>
Date:   2016-03-03T11:52:32Z

    [maven] explicitly disable shading of flink-dist
    
    - shading was previously disabled through setting the force-shading
      dependency to provided

commit 07ad4044ef1d746a4e8b54721436aedf894d42a3
Author: Maximilian Michels <[email protected]>
Date:   2016-03-03T15:31:49Z

    [FLINK-3569] fix test cases that expect a different working directory
    
    - all the it cases executed after shading now have the target directory
      as working directory

----


> Test cases fail due to Maven Shade plugin
> -----------------------------------------
>
>                 Key: FLINK-3569
>                 URL: https://issues.apache.org/jira/browse/FLINK-3569
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.0.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>             Fix For: 1.0.0, 1.1.0
>
>
> Tests like the {{ClassLoaderITCase}} use relative paths to find some jars. 
> The working directory (basedir) is changed by the Maven Shade plugin when it 
> has {{dependencyReducedPomLocation}} configured.
> Thus, we need to explicitly set the working directory (if possibly in the 
> plugin configuration) or prevent shading from execute.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to