----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43725/#review119716 -----------------------------------------------------------
gemfire-core/src/test/java/com/gemstone/gemfire/distributed/LocatorLauncherJUnitTest.java (line 150) <https://reviews.apache.org/r/43725/#comment181058> I recommend not catching Exception here and instead add "throws Exception" to the method declaration. It looks like the test will pass even if it fails. If this is on purpose, then you should use assumeTrue to cause the test to be skipped like this: public void testSetBindAddressToLocalHost() throws Exception { assumeTrue(SocketCreator.isLocalHost(...)); ... - Kirk Lund On Feb. 18, 2016, 8:28 p.m., Jianxia Chen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43725/ > ----------------------------------------------------------- > > (Updated Feb. 18, 2016, 8:28 p.m.) > > > Review request for geode, Bruce Schuchardt, Hitesh Khamesra, Jens Deppe, > Jinmei Liao, Kirk Lund, and Udo Kohlmeyer. > > > Repository: geode > > > Description > ------- > > Remove the expected exception since the DNS lookup result is > non-deterministic due to ISP DNS hijacking. Do not re-throw the exception in > the catch block. > > Do the same for LocatorLauncherJUnitTest as well. > > > Diffs > ----- > > > gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java > d13dae5 > > gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java > 4a2ce52 > > gemfire-core/src/test/java/com/gemstone/gemfire/distributed/LocatorLauncherJUnitTest.java > aa7e028 > > gemfire-core/src/test/java/com/gemstone/gemfire/distributed/ServerLauncherJUnitTest.java > 7240daa > > Diff: https://reviews.apache.org/r/43725/diff/ > > > Testing > ------- > > > Thanks, > > Jianxia Chen > >
