james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc DUZAN (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2196) FIx CompletableFutureUtilTest
Date Fri, 20 Oct 2017 02:56:00 GMT
Luc DUZAN created JAMES-2196:

             Summary: FIx CompletableFutureUtilTest
                 Key: JAMES-2196
                 URL: https://issues.apache.org/jira/browse/JAMES-2196
             Project: James Server
          Issue Type: Bug
            Reporter: Luc DUZAN

Some contributors get some error when running CompletableFutureUtilTest. For example:
INFO] Running org.apache.james.util.CompletableFutureUtilTest
[ERROR] Tests run: 25, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 45.033 s <<<
FAILURE! - in org.apache.james.util.CompletableFutureUtilTest
[ERROR] allOfShouldWorkOnVeryLargeStream(org.apache.james.util.CompletableFutureUtilTest)
Time elapsed: 44.637 s <<< ERROR!
java.util.concurrent.CompletionException: java.lang.StackOverflowError
at org.apache.james.util.CompletableFutureUtilTest.allOfShouldWorkOnVeryLargeStream(CompletableFutureUtilTest.java:228)
Caused by: java.lang.StackOverflowError

I guess it's du to the fact that the stack maximum size can vary depending on the platform
or that if you have a fast CPU or not you stack size grow differently.
Anyway we should make those test less aggressive so it work on everybody computer. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message