commit | dcd80ce886b2856c37683264e6f7444eeb1f70a7 | [log] [tgz] |
---|---|---|
author | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Thu Sep 06 23:10:38 2012 +0000 |
committer | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Thu Sep 06 23:10:38 2012 +0000 |
tree | a56fca646e8c1e51719d1bbdd38903074547fd1d | |
parent | 654d979cd1e90d1d128316763ef0328d45e02e8a [diff] |
Fixed cleanup of files/dirs in lsm inverted index tests. git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_lsm_tree@1896 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/common/LSMInvertedIndexTestHarness.java b/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/common/LSMInvertedIndexTestHarness.java index 8519ec9..cc4d1f9 100644 --- a/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/common/LSMInvertedIndexTestHarness.java +++ b/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/common/LSMInvertedIndexTestHarness.java
@@ -116,9 +116,10 @@ ioManager = TestStorageManagerComponentHolder.getIOManager(); rnd.setSeed(RANDOM_SEED); - File invIndexFile = new File(onDiskDir + invIndexFileName); - invIndexFile.deleteOnExit(); - invIndexFileRef = new FileReference(invIndexFile); + invIndexFileRef = ioManager.getIODevices().get(0).createFileReference(onDiskDir + invIndexFileName); + //File invIndexFile = new File(onDiskDir + invIndexFileName); + //invIndexFile.deleteOnExit(); + //invIndexFileRef = new FileReference(invIndexFile); } public void tearDown() throws HyracksDataException {