Skip to content

Commit 03be08d

Browse files
author
MaxKsyunz
committed
Use Junit 4 @after instead of Junit 5 @AfterEach
SQLIntegTestCase is based on JUnit 4 Junit 5 constructs do not affect test executing. Signed-off-by: MaxKsyunz <[email protected]>
1 parent 17e5240 commit 03be08d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integ-test/src/test/java/org/opensearch/sql/sql/PaginationWindowIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
import java.io.IOException;
1111
import org.json.JSONObject;
12+
import org.junit.After;
1213
import org.junit.Test;
13-
import org.junit.jupiter.api.AfterEach;
1414
import org.opensearch.client.ResponseException;
1515
import org.opensearch.sql.legacy.SQLIntegTestCase;
1616

@@ -20,7 +20,7 @@ public void init() throws IOException {
2020
loadIndex(Index.PHRASE);
2121
}
2222

23-
@AfterEach
23+
@After
2424
void resetParams() throws IOException {
2525
resetMaxResultWindow(TEST_INDEX_PHRASE);
2626
resetQuerySizeLimit();

0 commit comments

Comments
 (0)