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

View File

@ -164,7 +164,7 @@ public void testRecoveryMode() throws IOException {
public void testStored() throws IOException {
// reference edits stored with source code (see build.xml)
final String cacheDir = System.getProperty("test.cache.data",
"build/test/cache");
"target/test-classes");
// binary, XML, reparsed binary
String editsStored = cacheDir + "/editsStored";
String editsStoredParsedXml = cacheDir + "/editsStoredParsed.xml";