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
1 changed files with 1 additions and 1 deletions

View File

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