Repository: bookkeeper
Updated Branches:
  refs/heads/master 19a5efe21 -> 3fe7e7dad


BOOKKEEPER-904: BookieInitializationTest.testDuplicateBookieServerStartup fails 
on non-english machines

Author: eolivelli <[email protected]>

Reviewers: Matteo Merli <[email protected]>

Closes #30 from eolivelli/master


Project: http://git-wip-us.apache.org/repos/asf/bookkeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/bookkeeper/commit/3fe7e7da
Tree: http://git-wip-us.apache.org/repos/asf/bookkeeper/tree/3fe7e7da
Diff: http://git-wip-us.apache.org/repos/asf/bookkeeper/diff/3fe7e7da

Branch: refs/heads/master
Commit: 3fe7e7dad1a1a5a1ac958ef245f244d36523c0ea
Parents: 19a5efe
Author: eolivelli <[email protected]>
Authored: Wed Apr 6 09:38:15 2016 -0700
Committer: Matteo Merli <[email protected]>
Committed: Wed Apr 6 09:38:15 2016 -0700

----------------------------------------------------------------------
 .../org/apache/bookkeeper/bookie/BookieInitializationTest.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/3fe7e7da/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieInitializationTest.java
----------------------------------------------------------------------
diff --git 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieInitializationTest.java
 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieInitializationTest.java
index 39dfac6..5c028f0 100644
--- 
a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieInitializationTest.java
+++ 
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieInitializationTest.java
@@ -270,9 +270,7 @@ public class BookieInitializationTest extends 
BookKeeperClusterTestCase {
             fail("Should throw BindException, as the bk server is already 
running!");
         } catch (ChannelException ce) {
             Assert.assertTrue("Should be caused by a bind exception",
-                              ce.getCause() instanceof BindException);
-            Assert.assertTrue("BKServer allowed duplicate startups!",
-                    ce.getCause().getMessage().contains("Address already in 
use"));
+                              ce.getCause() instanceof BindException);         
   
         }
     }
 

Reply via email to