uschindler commented on code in PR #815:
URL: https://github.com/apache/lucene/pull/815#discussion_r851923047
##########
lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAlwaysRefreshDirectoryTaxonomyReader.java:
##########
@@ -53,15 +52,15 @@ public class TestAlwaysRefreshDirectoryTaxonomyReader
extends FacetTestCase {
private <T extends Throwable> void testAlwaysRefreshDirectoryTaxonomyReader(
Function<Directory, DirectoryTaxonomyReader> dtrProducer, Class<T>
exceptionType)
throws IOException {
- final Path taxoPath1 = createTempDir(String.valueOf(Instant.now()));
+ final Path taxoPath1 = createTempDir();
Review Comment:
You could still give some static string as prefix, but as this class only
has one test, we don't need it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]