GitHub user DrIgor reopened a pull request:

    https://github.com/apache/zeppelin/pull/1782

    [ZEPPELIN-1837] Fix possible reason of DepInterpreterTest failure

    ### What is this PR for?
    Fix possible reason of DepInterpreterTest failure
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### What is the Jira issue?
    [ZEPPELIN-1837](https://issues.apache.org/jira/browse/ZEPPELIN-1837)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    DepInterpreterTest will use random temporary folder for repo
    
    `DefaultRepositorySystem.resolveDependencies` throws NPE at line 352
    if `ArtifactResolutionException` is thrown during `collectDependencies`.
    Artifact is found but it is impossible to download it (for example folder
    can't be created)
    
    I think the reason is that several tests use "local-repo" folder for 
repository.
    While one test tries to download artifact, another deletes repository
    (or some another distructive thing)

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

    $ git pull https://github.com/DrIgor/zeppelin ZEPPELIN-1837

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

    https://github.com/apache/zeppelin/pull/1782.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 #1782
    
----
commit a2af13583f0f5be975e9f1780140d683a66d3983
Author: Igor Drozdov <igor_droz...@epam.com>
Date:   2016-12-19T10:00:39Z

    Fix possible reason of DepInterpreterTest failure
    
    DepInterpreterTest will use random temporary folder for repo
    
    `DefaultRepositorySystem.resolveDependencies` throws NPE at line 352
    if `ArtifactResolutionException` is thrown during `collectDependencies`.
    Artifact is found but it is impossible to download it (for example folder
    can't be created)
    
    I think the reason is that several tests use "local-repo" folder for 
repository.
    While one test tries to download artifact, another deletes repository
    (or some another distructive thing)

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to