ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [33/43] ignite git commit: IGNITE-2966: Hadoop: fixed test dependencies download process. This closes #626.
Date Tue, 12 Apr 2016 00:08:55 GMT
IGNITE-2966: Hadoop: fixed test dependencies download process. This closes #626.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e5485f60
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e5485f60
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e5485f60

Branch: refs/heads/ignite-2949
Commit: e5485f605ffc51a0e84b0212e3fe6b9537a13f1e
Parents: 2218875
Author: iveselovskiy <iveselovskiy@gridgain.com>
Authored: Mon Apr 11 12:56:40 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Mon Apr 11 12:56:40 2016 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e5485f60/modules/hadoop/src/test/java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/test/java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java
b/modules/hadoop/src/test/java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java
index ebc0c23..9b1d7a2 100644
--- a/modules/hadoop/src/test/java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java
+++ b/modules/hadoop/src/test/java/org/apache/ignite/testsuites/IgniteHadoopTestSuite.java
@@ -264,7 +264,7 @@ public class IgniteHadoopTestSuite extends TestSuite {
             X.println(appName + " distribution is invalid and it will be deleted.");
 
             if (!U.delete(home))
-                throw new IOException("Failed to delete directory: " + install.getAbsolutePath());
+                throw new IOException("Failed to delete directory: " + home.getAbsolutePath());
         }
 
         for (String url : urls) {
@@ -328,7 +328,7 @@ public class IgniteHadoopTestSuite extends TestSuite {
             catch (Exception e) {
                 e.printStackTrace();
 
-                U.delete(install);
+                U.delete(home);
             }
         }
 


Mime
View raw message