HADOOP-17899. Avoid using implicit dependency on junit-jupiter-api. (#3399)
This commit is contained in:
parent
e183ec8998
commit
ce7a5bfbd3
@ -25,8 +25,9 @@
|
|||||||
import org.apache.hadoop.fs.FileSystem;
|
import org.apache.hadoop.fs.FileSystem;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.io.IOUtils;
|
import org.apache.hadoop.io.IOUtils;
|
||||||
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
@ -44,7 +45,7 @@
|
|||||||
public class TestHttpFileSystem {
|
public class TestHttpFileSystem {
|
||||||
private final Configuration conf = new Configuration(false);
|
private final Configuration conf = new Configuration(false);
|
||||||
|
|
||||||
@BeforeEach
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
conf.set("fs.http.impl", HttpFileSystem.class.getCanonicalName());
|
conf.set("fs.http.impl", HttpFileSystem.class.getCanonicalName());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user