Fixed ZookeeperDiscoverySpiTest.testLocalAuthenticationFails test - Fixes
@@ -774,7 +774,7 @@ public class ZookeeperDiscoverySpiTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
- public void _testLocalAuthenticationFails() throws Exception {
+ public void testLocalAuthenticationFails() throws Exception {
auth = ZkTestNodeAuthenticator.factory(getTestIgniteInstanceName(0));
Throwable err = GridTestUtils.assertThrows(log, new Callable<Void>() {
@@ -788,7 +788,7 @@ public class ZookeeperDiscoverySpiTest extends GridCommonAbstractTest {
IgniteSpiException spiErr = X.cause(err, IgniteSpiException.class);
assertNotNull(spiErr);
- assertTrue(spiErr.getMessage().contains("Authentication failed for local node"));
+ assertTrue(spiErr.getMessage().contains("Failed to authenticate local node"));
startGrid(1);
startGrid(2);
