From 8fe18473b141bba696cfa8cae8ff840fe6482bcf Mon Sep 17 00:00:00 2001 From: Dmitriy Tverdiakov Date: Thu, 12 Jan 2023 21:54:25 +0000 Subject: [PATCH] Stop printing stacktrace in GraphDatabaseTest --- 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")); }