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

This commit is contained in:
Michael Kuchenbecker 2021-10-20 14:38:09 -07:00 committed by Konstantin V Shvachko
parent a4a874f532
commit a73ff6915a

View File

@ -164,7 +164,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";