You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2016/07/05 23:15:37 UTC

[14/32] incubator-geode git commit: GEODE-1598: Fix GfshHistoryJUnitTest to not expect unrecognized options to fail

GEODE-1598: Fix GfshHistoryJUnitTest to not expect unrecognized options to fail

This closes #188


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

Branch: refs/heads/feature/GEODE-1571
Commit: 481076d94086f0241787c4b95eb5dd8090944b53
Parents: 2f6dcec
Author: gmeilen <gr...@gmail.com>
Authored: Tue Jul 5 11:04:36 2016 -0700
Committer: Kirk Lund <kl...@apache.org>
Committed: Tue Jul 5 11:09:43 2016 -0700

----------------------------------------------------------------------
 .../management/internal/cli/shell/GfshHistoryJUnitTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/481076d9/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
index cfa9e32..e3ea2b4 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
@@ -72,7 +72,7 @@ public class GfshHistoryJUnitTest {
 
     List<String> lines = Files.readAllLines(gfshHistoryFile.toPath());
     assertEquals(2, lines.size());
-    assertEquals(lines.get(1), "// [failed] connect --fake-param=foo");
+    assertEquals(lines.get(1), "connect --fake-param=foo");
   }
 
   @Test
@@ -81,7 +81,7 @@ public class GfshHistoryJUnitTest {
     gfsh.executeScriptLine("connect --password=foo --password = foo --password= goo --password =goo --password-param=blah --other-password-param=    gah");
 
     List<String> lines = Files.readAllLines(gfshHistoryFile.toPath());
-    assertEquals("// [failed] connect --password=***** --password = ***** --password= ***** --password =***** --password-param=***** --other-password-param= *****", lines.get(1));
+    assertEquals("connect --password=***** --password = ***** --password= ***** --password =***** --password-param=***** --other-password-param= *****", lines.get(1));
   }
 
   @Test