geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstew...@apache.org
Subject geode git commit: GEODE-2621: Reduce time sensitivity of ExportLogsDUnitTest
Date Wed, 08 Mar 2017 00:02:25 GMT
Repository: geode
Updated Branches:
  refs/heads/develop aae5aa500 -> 55564a300


GEODE-2621: Reduce time sensitivity of ExportLogsDUnitTest


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

Branch: refs/heads/develop
Commit: 55564a300571bf4bc50c34527480beaf3451c38d
Parents: aae5aa5
Author: Jared Stewart <jstewart@pivotal.io>
Authored: Tue Mar 7 15:26:20 2017 -0800
Committer: Jared Stewart <jstewart@pivotal.io>
Committed: Tue Mar 7 15:26:20 2017 -0800

----------------------------------------------------------------------
 .../management/internal/cli/commands/ExportLogsDUnitTest.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/55564a30/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsDUnitTest.java
index bf1d9ea..95edd42 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsDUnitTest.java
@@ -143,8 +143,7 @@ public class ExportLogsDUnitTest {
     String cutoffTimeString = dateTimeFormatter.format(cutoffTime);
 
     CommandStringBuilder commandStringBuilder = new CommandStringBuilder("export logs");
-    commandStringBuilder.addOption("start-time",
-        dateTimeFormatter.format(cutoffTime.minusHours(1)));
+    commandStringBuilder.addOption("start-time", dateTimeFormatter.format(cutoffTime.minusDays(1)));
     commandStringBuilder.addOption("end-time", cutoffTimeString);
     commandStringBuilder.addOption("log-level", "debug");
     commandStringBuilder.addOption("dir", "someDir");


Mime
View raw message