HADOOP-15494. TestRawLocalFileSystemContract fails on Windows.

Contributed by Anbang Hu.
This commit is contained in:
Steve Loughran 2018-05-25 11:12:47 +01:00
parent 86bc6425d4
commit bddfe796f2

View File

@ -42,7 +42,7 @@ public class TestRawLocalFileSystemContract extends FileSystemContractBaseTest {
private static final Logger LOG = private static final Logger LOG =
LoggerFactory.getLogger(TestRawLocalFileSystemContract.class); LoggerFactory.getLogger(TestRawLocalFileSystemContract.class);
private final static Path TEST_BASE_DIR = private final static Path TEST_BASE_DIR =
new Path(GenericTestUtils.getTempPath("")); new Path(GenericTestUtils.getRandomizedTestDir().getAbsolutePath());
@Before @Before
public void setUp() throws Exception { public void setUp() throws Exception {