HBASE-7960 Addendum simplify test path as suggested by Stack

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2013-03-08 04:42:37 +00:00
parent 57cb60b2ff
commit faaa3a6af8
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ public class TestHalfStoreFileReader {
*/
@Test
public void testHalfScanAndReseek() throws IOException {
String root_dir = TEST_UTIL.getDataTestDir("TestHalfStoreFile").toString();
String root_dir = TEST_UTIL.getDataTestDir().toString();
Path p = new Path(root_dir, "test");
Configuration conf = TEST_UTIL.getConfiguration();
@ -140,7 +140,7 @@ public class TestHalfStoreFileReader {
// Tests the scanner on an HFile that is backed by HalfStoreFiles
@Test
public void testHalfScanner() throws IOException {
String root_dir = TEST_UTIL.getDataTestDir("TestHalfStoreFileScanBefore").toString();
String root_dir = TEST_UTIL.getDataTestDir().toString();
Path p = new Path(root_dir, "test");
Configuration conf = TEST_UTIL.getConfiguration();
FileSystem fs = FileSystem.get(conf);