From c5f5fdeb67d919bd52bf53366a221da6f6b9b768 Mon Sep 17 00:00:00 2001 From: Dmitriy Tverdiakov <11927660+injectives@users.noreply.github.com> Date: Fri, 13 Jan 2023 09:23:56 +0000 Subject: [PATCH] Stop printing stacktrace in GraphDatabaseTest (#1364) --- driver/src/test/java/org/neo4j/driver/GraphDatabaseTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/driver/src/test/java/org/neo4j/driver/GraphDatabaseTest.java b/driver/src/test/java/org/neo4j/driver/GraphDatabaseTest.java index 48ef7764cb..e86e1d21a7 100644 --- a/driver/src/test/java/org/neo4j/driver/GraphDatabaseTest.java +++ b/driver/src/test/java/org/neo4j/driver/GraphDatabaseTest.java @@ -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")); }