You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/10/20 21:34:00 UTC

[jira] [Commented] (NIFI-10672) Remove unreliable test testGetDataSourceIdleProperties from DBCPServiceTest

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

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

Commit c22181e79fadd9e2e2ff587c4a4deca85408d72f in nifi's branch refs/heads/main from Nathan Gough
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c22181e79f ]

NIFI-10672 - Removed intermittently failing method from DBCPServiceTest

This closes #6555

Signed-off-by: David Handermann <ex...@apache.org>


> Remove unreliable test testGetDataSourceIdleProperties from DBCPServiceTest
> ---------------------------------------------------------------------------
>
>                 Key: NIFI-10672
>                 URL: https://issues.apache.org/jira/browse/NIFI-10672
>             Project: Apache NiFi
>          Issue Type: Test
>    Affects Versions: 1.18.0
>            Reporter: Nathan Gough
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Test is having intermittent failure:
> {code:java}
> [INFO] Running org.apache.nifi.lookup.TestRecordSetWriterLookup
> [ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.684 s <<< FAILURE! - in org.apache.nifi.dbcp.DBCPServiceTest
> [ERROR] org.apache.nifi.dbcp.DBCPServiceTest.testGetDataSourceIdlePropertiesĀ  Time elapsed: 0.308 sĀ  <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <1> but was: <2>
> 	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> 	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> 	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
> 	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
> 	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
> 	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:528)
> 	at org.apache.nifi.dbcp.DBCPServiceTest.testGetDataSourceIdleProperties(DBCPServiceTest.java:283)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498) {code}



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