Skip to content

Commit 2bbd679

Browse files
committed
printing server logs after tests
1 parent b8311ae commit 2bbd679

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java-client/src/test/java/co/elastic/clients/elasticsearch/ElasticsearchTestServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public static synchronized ElasticsearchTestServer global(@Nullable String passw
9494

9595
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
9696
System.out.println("Stopping global ES test server.");
97+
System.out.println(global.container.getLogs());
9798
global.close();
9899
}));
99100
}

0 commit comments

Comments
 (0)