Skip to content

Commit 569e237

Browse files
Copilottorosent
andcommitted
Fix private @AfterEach method in IntegrationTestBase
JUnit 5.12+ warns that @AfterEach methods should not be private, and this will be disallowed in a future release. Changed shutdown() from private to package-private visibility. Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
1 parent 7d52da0 commit 569e237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/test/java/com/microsoft/durabletask/IntegrationTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class IntegrationTestBase {
2222
private ManagedChannel clientChannel;
2323

2424
@AfterEach
25-
private void shutdown() {
25+
void shutdown() {
2626
if (this.server != null) {
2727
this.server.stop();
2828
this.server = null;

0 commit comments

Comments
 (0)