You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2021/04/19 14:05:20 UTC
[nifi] 02/02: NIFI-8421 This closes #4996. increase commit
frequency to ensure we commit often during these tests to minimize race
conditions
This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
commit 77c353219b3cbfb4bf889a7b757db26ada5ef6b8
Author: Joe Witt <jo...@apache.org>
AuthorDate: Mon Apr 12 20:24:27 2021 -0700
NIFI-8421 This closes #4996. increase commit frequency to ensure we commit often during these tests to minimize race conditions
Signed-off-by: Joe Witt <jo...@apache.org>
---
.../history/AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/status/history/AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/status/history/AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.java
index eb0e7bf..65e2e4c 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/status/history/AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/status/history/AbstractEmbeddedQuestDbStatusHistoryRepositoryTest.java
@@ -41,7 +41,7 @@ public abstract class AbstractEmbeddedQuestDbStatusHistoryRepositoryTest extends
protected static final int PREFERRED_DATA_POINTS = 1000;
protected static final int DAYS_TO_KEEP_DATA = 7;
- protected static final long PERSIST_FREQUENCY = TimeUnit.MILLISECONDS.convert(2, TimeUnit.SECONDS);
+ protected static final long PERSIST_FREQUENCY = 50; //200 milliseconds
protected EmbeddedQuestDbStatusHistoryRepository testSubject;
protected String path;