incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/2] git commit: Fixing broken unit test.
Date Mon, 02 Feb 2015 00:12:01 GMT
Fixing broken unit test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/0c04e4e6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/0c04e4e6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/0c04e4e6

Branch: refs/heads/master
Commit: 0c04e4e6abf3a932ddad939fdb71061f6c16a317
Parents: 4fafd59
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Feb 1 19:11:54 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Feb 1 19:11:54 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/blur/command/ShardCommandManagerTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0c04e4e6/blur-core/src/test/java/org/apache/blur/command/ShardCommandManagerTest.java
----------------------------------------------------------------------
diff --git a/blur-core/src/test/java/org/apache/blur/command/ShardCommandManagerTest.java
b/blur-core/src/test/java/org/apache/blur/command/ShardCommandManagerTest.java
index 817718a..b18e935 100644
--- a/blur-core/src/test/java/org/apache/blur/command/ShardCommandManagerTest.java
+++ b/blur-core/src/test/java/org/apache/blur/command/ShardCommandManagerTest.java
@@ -95,10 +95,11 @@ public class ShardCommandManagerTest {
   @Test
   public void testGetCommands() {
     Map<String, BigInteger> commands = _manager.getCommands();
-    assertEquals(3, commands.size());
+    assertEquals(4, commands.size());
     assertTrue(commands.containsKey("wait"));
     assertTrue(commands.containsKey("error"));
     assertTrue(commands.containsKey("RunSlowForTesting"));
+    assertTrue(commands.containsKey("currentUser"));
     assertEquals(BigInteger.ZERO, commands.get("wait"));
   }
 


Mime
View raw message