From 76393e1359105cd721a35446d37439d522c9c9f7 Mon Sep 17 00:00:00 2001 From: Masatake Iwasaki Date: Wed, 8 Sep 2021 18:10:50 +0900 Subject: [PATCH] HADOOP-17899. Avoid using implicit dependency on junit-jupiter-api. (#3399) (cherry picked from commit ce7a5bfbd3cb55afda265d105ff10ba2e2874a3f) --- .../java/org/apache/hadoop/fs/http/TestHttpFileSystem.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/http/TestHttpFileSystem.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/http/TestHttpFileSystem.java index 51692ede22..4c6cf823a7 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/http/TestHttpFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/http/TestHttpFileSystem.java @@ -25,8 +25,9 @@ import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IOUtils; +import org.junit.Before; import org.junit.Test; -import org.junit.jupiter.api.BeforeEach; + import java.io.IOException; import java.io.InputStream; @@ -44,7 +45,7 @@ public class TestHttpFileSystem { private final Configuration conf = new Configuration(false); - @BeforeEach + @Before public void setUp() { conf.set("fs.http.impl", HttpFileSystem.class.getCanonicalName()); }