Skip to content

Commit 76393e1

Browse files
committed
HADOOP-17899. Avoid using implicit dependency on junit-jupiter-api. (#3399)
(cherry picked from commit ce7a5bf)
1 parent 5926ccd commit 76393e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/http/TestHttpFileSystem.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
import org.apache.hadoop.fs.FileSystem;
2626
import org.apache.hadoop.fs.Path;
2727
import org.apache.hadoop.io.IOUtils;
28+
import org.junit.Before;
2829
import org.junit.Test;
29-
import org.junit.jupiter.api.BeforeEach;
30+
3031

3132
import java.io.IOException;
3233
import java.io.InputStream;
@@ -44,7 +45,7 @@
4445
public class TestHttpFileSystem {
4546
private final Configuration conf = new Configuration(false);
4647

47-
@BeforeEach
48+
@Before
4849
public void setUp() {
4950
conf.set("fs.http.impl", HttpFileSystem.class.getCanonicalName());
5051
}

0 commit comments

Comments
 (0)