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

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

Commit e83b1c2de68fbe3513bf9db5db3806b02f1917a5 in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e83b1c2de68 ]

NIFI-15753 Improved ConsumeKinesis Polling checks for pending fetches (#11050)

- Added timeouts to PollingKinesisClientTest methods

Signed-off-by: David Handermann <[email protected]>

> Flaky test 
> PollingKinesisClientTest.testCloseTerminatesAllFetchingAndDrainsQueue
> --------------------------------------------------------------------------------
>
>                 Key: NIFI-15753
>                 URL: https://issues.apache.org/jira/browse/NIFI-15753
>             Project: Apache NiFi
>          Issue Type: Test
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> Error:  Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 1.460 s <<< FAILURE! -- in 
> org.apache.nifi.processors.aws.kinesis.PollingKinesisClientTestError:  
> org.apache.nifi.processors.aws.kinesis.PollingKinesisClientTest.testCloseTerminatesAllFetchingAndDrainsQueue
>  -- Time elapsed: 0.016 s <<< FAILURE!org.opentest4j.AssertionFailedError: 
> After close, hasPendingFetches must return false ==> expected: <false> but 
> was: <true>      at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
>         at 
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
>         at 
> org.junit.jupiter.api.AssertFalse.failNotFalse(AssertFalse.java:69)  at 
> org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:41)   at 
> org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:255)    at 
> org.apache.nifi.processors.aws.kinesis.PollingKinesisClientTest.testCloseTerminatesAllFetchingAndDrainsQueue(PollingKinesisClientTest.java:317)
> Error:  Failures: Error:    
> PollingKinesisClientTest.testCloseTerminatesAllFetchingAndDrainsQueue:317 
> After close, hasPendingFetches must return false ==> expected: <false> but 
> was: <true> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to