You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2019/05/20 04:39:00 UTC

[jira] [Closed] (JAMES-2196) Fix CompletableFutureUtilTest

     [ https://issues.apache.org/jira/browse/JAMES-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit closed JAMES-2196.
---------------------------------
    Resolution: Won't Fix

Corresponding code had been replaced by the use of reactor

> Fix CompletableFutureUtilTest
> -----------------------------
>
>                 Key: JAMES-2196
>                 URL: https://issues.apache.org/jira/browse/JAMES-2196
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Luc DUZAN
>            Priority: Major
>
> 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
(v7.6.3#76005)

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