Skip to content

Commit 4b21067

Browse files
committed
Print stacktraces for unexpected errors in tests
Couple tests that kill DB fail with command line exceptions.
1 parent b4dfe33 commit 4b21067

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

driver/src/test/java/org/neo4j/driver/v1/integration/SessionAsyncIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ public void shouldFailWhenServerIsRestarted()
199199
}
200200
catch ( Throwable t )
201201
{
202+
t.printStackTrace();
202203
assertThat( t, instanceOf( ServiceUnavailableException.class ) );
203204
}
204205
}

driver/src/test/java/org/neo4j/driver/v1/integration/TransactionAsyncIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ public void shouldFailWhenServerIsRestarted() throws IOException
593593
}
594594
catch ( Throwable t )
595595
{
596+
t.printStackTrace();
596597
assertThat( t, instanceOf( ServiceUnavailableException.class ) );
597598
}
598599
}

0 commit comments

Comments
 (0)