Skip to content

Commit 5ba6a7b

Browse files
committed
Reverting changes for non-crt packages
1 parent 693bd41 commit 5ba6a7b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

services-custom/s3-transfer-manager/src/it/java/software/amazon/awssdk/transfer/s3/S3IntegrationTestBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public static void cleanUpForAllIntegTests() {
9090
s3Async.close();
9191
s3CrtAsync.close();
9292
tmCrt.close();
93+
CrtResource.waitForNoResources();
9394
}
9495

9596
protected static S3ClientBuilder s3ClientBuilder() {

test/stability-tests/src/it/java/software/amazon/awssdk/stability/tests/s3/S3CrtAsyncClientStabilityTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public static void cleanup() {
5656
}
5757
s3CrtAsyncClient.close();
5858
s3ApacheClient.close();
59+
CrtResource.waitForNoResources();
5960
}
6061

6162
@Override

test/stability-tests/src/it/java/software/amazon/awssdk/stability/tests/s3/S3CrtClientStabilityTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static void cleanup() {
7474
}
7575
s3Client.close();
7676
s3ApacheClient.close();
77+
CrtResource.waitForNoResources();
7778
futureThreadPool.shutdown();
7879
try {
7980
futureThreadPool.awaitTermination(5, TimeUnit.SECONDS);

0 commit comments

Comments
 (0)