NIFI-6660: Fixed ordering of directory creation and timestamp gathering

This closes #3731.
This commit is contained in:
Mark Payne 2019-09-12 16:42:37 -04:00
parent 3d1bb09ff8
commit af94b035cb

View File

@ -149,8 +149,8 @@ public class TestIndexDirectoryManager {
}
assertTrue(index1.mkdirs());
final long timestamp = System.currentTimeMillis();
assertTrue(index2.mkdirs());
final long timestamp = System.currentTimeMillis();
try {
final IndexDirectoryManager mgr = new IndexDirectoryManager(config);