Skip to content

Commit

Permalink
fix check style
Browse files Browse the repository at this point in the history
  • Loading branch information
315157973 committed Aug 29, 2024
1 parent 14237cb commit 6f66bf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1559,8 +1559,8 @@ public void triggerAudit()
} catch (IOException e) {
if (e.getCause() instanceof KeeperException.NoNodeException) {
LOG.error("Unable to find Zookeeper node: {}", e.getCause().getMessage());
throw new UnavailableException("Autorecovery is disabled due to " +
"missing Zookeeper node. Aborting recovery!");
throw new UnavailableException("Autorecovery is disabled due to "
+ "missing Zookeeper node. Aborting recovery!");
}
throw e;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public void testRecoveryDisabled() {
fail("should failed");
} catch (Exception e) {
assertTrue(e instanceof ReplicationException.UnavailableException);
assertTrue(e.getMessage().contains("Autorecovery is disabled due to missing Zookeeper node." +
" Aborting recovery"));
assertTrue(e.getMessage().contains("Autorecovery is disabled due to missing Zookeeper node."
+ " Aborting recovery"));
}
}

Expand Down

0 comments on commit 6f66bf3

Please sign in to comment.