geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject incubator-geode git commit: GEODE-1598: Fix GfshHistoryJUnitTest to not expect unrecognized options to fail
Date Tue, 05 Jul 2016 18:14:53 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 2f6dcec4f -> 481076d94


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/develop
Commit: 481076d94086f0241787c4b95eb5dd8090944b53
Parents: 2f6dcec
Author: gmeilen <gracemeilen@gmail.com>
Authored: Tue Jul 5 11:04:36 2016 -0700
Committer: Kirk Lund <klund@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


Mime
View raw message