Added reporting of the test's temporary location in case of a failure.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585042 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2014-04-05 10:38:32 +00:00
parent 8dd1572be1
commit f8c0e119ba
1 changed files with 7 additions and 0 deletions

View File

@ -2360,6 +2360,13 @@ public abstract class LuceneTestCase extends Assert {
throw e;
}
}
} else {
synchronized (cleanupQueue) {
if (tempDirBase != null) {
System.err.println("NOTE: leaving temporary files on disk at: " +
tempDirBase.getAbsolutePath());
}
}
}
}
}