HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker (#3571)

(cherry picked from commit a73ff6915a)
This commit is contained in:
Michael Kuchenbecker 2021-10-20 14:38:09 -07:00 committed by Konstantin V Shvachko
parent e7785bb7e5
commit 78723e045a
1 changed files with 1 additions and 1 deletions

View File

@ -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";