You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2019/09/13 13:34:36 UTC
[nifi] branch master updated: NIFI-6660: Fixed ordering of
directory creation and timestamp gathering
This is an automated email from the ASF dual-hosted git repository.
markap14 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new af94b03 NIFI-6660: Fixed ordering of directory creation and timestamp gathering
af94b03 is described below
commit af94b035cbb1e71ee9bca59e4215044ecc97f116
Author: Mark Payne <ma...@hotmail.com>
AuthorDate: Thu Sep 12 16:42:37 2019 -0400
NIFI-6660: Fixed ordering of directory creation and timestamp gathering
This closes #3731.
---
.../apache/nifi/provenance/index/lucene/TestIndexDirectoryManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestIndexDirectoryManager.java b/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestIndexDirectoryManager.java
index 7681056..7a04371 100644
--- a/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestIndexDirectoryManager.java
+++ b/nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/index/lucene/TestIndexDirectoryManager.java
@@ -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);