Skip to content

Commit

Permalink
Stop printing stacktrace in GraphDatabaseTest (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives authored Jan 13, 2023
1 parent 94f9c20 commit c5f5fde
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ void shouldPrintNiceRoutingErrorWhenConnectingToUnresponsiveServer() throws Exce
final Driver driver = GraphDatabase.driver("neo4j://localhost:" + localPort, INSECURE_CONFIG);
final ServiceUnavailableException error =
assertThrows(ServiceUnavailableException.class, driver::verifyConnectivity);
error.printStackTrace();
assertThat(error.getMessage(), containsString("Unable to connect to"));
}

Expand Down

0 comments on commit c5f5fde

Please sign in to comment.