Skip to content

Commit

Permalink
Should be @afterall
Browse files Browse the repository at this point in the history
  • Loading branch information
Randgalt committed Feb 20, 2025
1 parent 8b8dba7 commit 7264284
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Test;
import software.amazon.awssdk.auth.credentials.AwsSessionCredentials;
import software.amazon.awssdk.services.s3.S3Client;
Expand Down Expand Up @@ -108,7 +108,7 @@ public TestProxiedErrorResponses(TestingRemoteS3Facade delegatingFacade, @ForErr
delegatingFacade.setDelegate(new PathStyleRemoteS3Facade((_, _) -> httpErrorResponseServer.getBaseUrl().getHost(), false, Optional.of(httpErrorResponseServer.getBaseUrl().getPort())));
}

@AfterEach
@AfterAll
public void shutdown()
{
internalClient.close();
Expand Down

0 comments on commit 7264284

Please sign in to comment.