[ 
https://issues.apache.org/jira/browse/NIFI-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369312#comment-14369312
 ] 

ASF subversion and git services commented on NIFI-432:
------------------------------------------------------

Commit b560a88cbde48e669cee89e2c6cb18fcae736c72 in incubator-nifi's branch 
refs/heads/NIFI-250 from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=b560a88 ]

NIFI-432: Reduced amount of time needed for rollovers in unit tests in order to 
speed up tests


> PersistentProvenanceRepository unit tests take a very long time
> ---------------------------------------------------------------
>
>                 Key: NIFI-432
>                 URL: https://issues.apache.org/jira/browse/NIFI-432
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.1.0
>
>         Attachments: 
> 0002-NIFI-432-Reduced-amount-of-time-needed-for-rollovers.patch, 
> TEST-org.apache.nifi.provenance.TestPersistentProvenanceRepository.xml, 
> org.apache.nifi.provenance.TestPersistentProvenanceRepository-output.txt, 
> org.apache.nifi.provenance.TestPersistentProvenanceRepository.txt
>
>
> Unit tests take a really long time because they wait for the repo to 
> rollover. This is because we only check if it's time to rollover 
> infrequently. We can fix this by allowing the RepositoryConfiguration to 
> specify how long we should wait to check and setting the value much smaller 
> for unit tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to