geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [02/10] geode git commit: GEODE-3231: use tempWorkingFolder to avoid test log file contamination between tests.
Date Mon, 31 Jul 2017 16:00:58 GMT
GEODE-3231: use tempWorkingFolder to avoid test log file contamination between tests.


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

Branch: refs/heads/feature/GEODE-3322
Commit: 9e87f5a990b8535ae11f5016d13db9cfb79dbebd
Parents: 0debd20
Author: Jinmei Liao <jiliao@pivotal.io>
Authored: Thu Jul 27 09:56:15 2017 -0700
Committer: Jinmei Liao <jiliao@pivotal.io>
Committed: Thu Jul 27 09:56:33 2017 -0700

----------------------------------------------------------------------
 .../internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/9e87f5a9/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java
index ef62269..320cc2e 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsWithMemberGroupDUnitTest.java
@@ -46,7 +46,8 @@ import org.apache.geode.test.junit.categories.DistributedTest;
 @Category(DistributedTest.class)
 public class ExportLogsWithMemberGroupDUnitTest {
   @ClassRule
-  public static LocatorServerStartupRule lsRule = new LocatorServerStartupRule().withLogFile();
+  public static LocatorServerStartupRule lsRule =
+      new LocatorServerStartupRule().withTempWorkingDir().withLogFile();
 
   @ClassRule
   public static GfshShellConnectionRule connector = new GfshShellConnectionRule();


Mime
View raw message