bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject bookkeeper git commit: BOOKKEEPER-904: BookieInitializationTest.testDuplicateBookieServerStartup fails on non-english machines
Date Wed, 06 Apr 2016 16:38:22 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master 19a5efe21 -> 3fe7e7dad


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

Author: eolivelli <eolivelli@gmail.com>

Reviewers: Matteo Merli <mmerli@apache.org>

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 <eolivelli@gmail.com>
Authored: Wed Apr 6 09:38:15 2016 -0700
Committer: Matteo Merli <mmerli@apache.org>
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);            
         }
     }
 


Mime
View raw message