GitHub user apiri opened a pull request:

    https://github.com/apache/nifi/pull/160

    NIFI-1145 Unit tests timeout in some environments

    In order to get more meaningful information from our integration with 
travis CI established in NIFI-1211, there were certain tests that had issues 
with timing that were drawn out in severely taxed environments.  These have 
been worked out and we are in a state where we are getting consistent passing 
builds on Travis for the associated code in this PR.
    
    @markap14 had provided an initial patch, included, for the test that was 
first to fail.  Through several iterations, I was able to track the others down 
that had similar timing quirks as well as addressing some OpenJDK 7 issues in 
the Travis containerized (sudo: false) environment as per 
https://github.com/travis-ci/travis-ci/issues/5227.
    
    Passing build (mvn clean install -Pcontrib-check):  
https://travis-ci.org/apiri/incubator-nifi/builds/100745961

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apiri/incubator-nifi timing-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #160
    
----
commit 156e46cc2e3adc66d89c82371c2ed0da73e68378
Author: Mark Payne <marka...@hotmail.com>
Date:   2015-12-31T20:57:15Z

    NIFI-1145: Extend timeout of unit test from 20 seconds to 120 seconds
    
    Signed-off-by: Aldrin Piri <ald...@apache.org>

commit 9227227f04c0a2dd72561b1da3a4004a7d07c3f5
Author: Aldrin Piri <ald...@apache.org>
Date:   2016-01-04T20:05:57Z

    NIFI-1145
    Increasing timeout values for 
TestStandardProcessScheduler#validateEnabledDisableMultiThread
    Increasing timeout for testConcurrencyWithEnablingReferencingServicesGraph 
as 10s is not sufficient for overly taxed environments.
    
    Signed-off-by: Aldrin Piri <ald...@apache.org>

commit 0fc6dec838bfefafbe09f376a430b4dc5607612c
Author: Aldrin Piri <ald...@apache.org>
Date:   2016-01-04T20:06:19Z

    NIFI-1349 Providing workaround for Buffer Overflow Issue in the Travis-CI 
container environment.
    
    Signed-off-by: Aldrin Piri <ald...@apache.org>

commit c679e972718aad08b170b6e6d4dcc7cff56a41c5
Author: Aldrin Piri <ald...@apache.org>
Date:   2016-01-04T20:43:17Z

    NIFI-1145 Providing delays in tests where resources are being initialized 
to allow heavily taxed environments sufficient time.

commit 3c050423591b065fe7320eb82b50c086a66c3bb5
Author: Aldrin Piri <ald...@apache.org>
Date:   2016-01-07T04:00:48Z

    NIFI-1211 Only use the master branch to indicate current build health of 
the project for Travis CI

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to