Skip to content

Commit a2bbe2c

Browse files
committed
explicitly shut down client as well
Signed-off-by: Antoine Toulme <[email protected]>
1 parent 99cca1e commit a2bbe2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/traces/impl/OpenTelemetryTracesProviderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public void onCompleted() {
193193
List<io.opentelemetry.proto.trace.v1.ResourceSpans> spans = fakeTracesCollector.getReceivedSpans();
194194
assertThat(spans.isEmpty()).isFalse();
195195

196+
chaincodeSupportClient.shutdown(itm);
196197
server.shutdown();
197198
}
198199

0 commit comments

Comments
 (0)