Skip to content

Commit 7264284

Browse files
committed
Should be @afterall
1 parent 8b8dba7 commit 7264284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trino-aws-proxy/src/test/java/io/trino/aws/proxy/server/rest/TestProxiedErrorResponses.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import jakarta.servlet.http.HttpServlet;
3030
import jakarta.servlet.http.HttpServletRequest;
3131
import jakarta.servlet.http.HttpServletResponse;
32-
import org.junit.jupiter.api.AfterEach;
32+
import org.junit.jupiter.api.AfterAll;
3333
import org.junit.jupiter.api.Test;
3434
import software.amazon.awssdk.auth.credentials.AwsSessionCredentials;
3535
import software.amazon.awssdk.services.s3.S3Client;
@@ -108,7 +108,7 @@ public TestProxiedErrorResponses(TestingRemoteS3Facade delegatingFacade, @ForErr
108108
delegatingFacade.setDelegate(new PathStyleRemoteS3Facade((_, _) -> httpErrorResponseServer.getBaseUrl().getHost(), false, Optional.of(httpErrorResponseServer.getBaseUrl().getPort())));
109109
}
110110

111-
@AfterEach
111+
@AfterAll
112112
public void shutdown()
113113
{
114114
internalClient.close();

0 commit comments

Comments
 (0)