Andy LoPresto created NIFI-5416: ----------------------------------- Summary: Move long running tests to special profile or integration tests Key: NIFI-5416 URL: https://issues.apache.org/jira/browse/NIFI-5416 Project: Apache NiFi Issue Type: Improvement Components: Tools and Build Affects Versions: 1.7.0 Reporter: Andy LoPresto
Running the build with tests is a very long process; sometimes a multithread build can be problematic, and running the full build is over half an hour on commodity hardware. Some unit tests wait an inordinate amount of time and do not need to be run as part of the normal build. I've started to identify some of these tests just via repeated runs. Either they should be moved to the integration tests profile, or a new profile / JUnit category to be run only when necessary. A quick collection of significantly longer tests shows the possibility of >6 minutes shaved off the build. * TestTailFile 18s * TestPostHTTP 35s * TestListFile 58s * TestListenUDP 39s * TestInvokeHttpTwoWaySSL 67s * TestInvokeHttpSSL 67s * TestInvokeHttp 10s * TestGetHTTP 35s * TestRELPSocketChannelHandler 36s * DBCPServiceTest 37s =>400 seconds = 6+ minutes saved -- This message was sent by Atlassian JIRA (v7.6.3#76005)