Nathan Gough created NIFI-10672:
-----------------------------------

             Summary: 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


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)

Reply via email to