HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker (#3571)
(cherry picked from commit a73ff6915a
)
This commit is contained in:
parent
7ebc18e8fe
commit
7de539f3ca
|
@ -164,7 +164,7 @@ public class TestOfflineEditsViewer {
|
||||||
public void testStored() throws IOException {
|
public void testStored() throws IOException {
|
||||||
// reference edits stored with source code (see build.xml)
|
// reference edits stored with source code (see build.xml)
|
||||||
final String cacheDir = System.getProperty("test.cache.data",
|
final String cacheDir = System.getProperty("test.cache.data",
|
||||||
"build/test/cache");
|
"target/test-classes");
|
||||||
// binary, XML, reparsed binary
|
// binary, XML, reparsed binary
|
||||||
String editsStored = cacheDir + "/editsStored";
|
String editsStored = cacheDir + "/editsStored";
|
||||||
String editsStoredParsedXml = cacheDir + "/editsStoredParsed.xml";
|
String editsStoredParsedXml = cacheDir + "/editsStoredParsed.xml";
|
||||||
|
|
Loading…
Reference in New Issue