ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: IGNITE-8077 Do not attempt to clean up work directory on running grid in ConfigVariationTests
Date Fri, 20 Apr 2018 14:07:57 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-7708-2 [created] a6bf4fcb3


IGNITE-8077 Do not attempt to clean up work directory on running grid in ConfigVariationTests


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

Branch: refs/heads/ignite-7708-2
Commit: a6bf4fcb3bc05c2ab62fb0e4339916b07f3b3c61
Parents: 358d039
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Fri Apr 20 17:07:38 2018 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Fri Apr 20 17:07:38 2018 +0300

----------------------------------------------------------------------
 .../junits/IgniteConfigVariationsAbstractTest.java           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a6bf4fcb/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
index 8365848..0e454a3 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/IgniteConfigVariationsAbstractTest.java
@@ -81,15 +81,15 @@ public abstract class IgniteConfigVariationsAbstractTest extends GridCommonAbstr
     @Override protected void beforeTestsStarted() throws Exception {
         assert testsCfg != null;
 
-        FileUtils.deleteDirectory(workDir);
-
-        info("Ignite's 'work' directory has been cleaned.");
-
         if (Ignition.allGrids().size() != testsCfg.gridCount()) {
             info("All nodes will be stopped, new " + testsCfg.gridCount() + " nodes will
be started.");
 
             Ignition.stopAll(true);
 
+            FileUtils.deleteDirectory(workDir);
+
+            info("Ignite's 'work' directory has been cleaned.");
+
             startGrids(testsCfg.gridCount());
 
             for (int i = 0; i < testsCfg.gridCount(); i++)


Mime
View raw message