HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker (#3571)
(cherry picked from commit a73ff6915ae3e0ced1b4c814a94845f51e655a0c)
This commit is contained in:
parent
5db1b2d7fa
commit
79d1818879
@ -163,7 +163,7 @@ public void testRecoveryMode() throws IOException {
|
|||||||
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…
x
Reference in New Issue
Block a user