You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/08 21:45:23 UTC
[GitHub] [pulsar] merlimat opened a new pull request #5343: Avoid exiting on
OOM in uni tests
merlimat opened a new pull request #5343: Avoid exiting on OOM in uni tests
URL: https://github.com/apache/pulsar/pull/5343
### Motivation
There are several unit tests run that are failing because the JVM suddenly exists.
```
2019-10-08\T\02:16:12.005 [ERROR] Error occurred in starting fork, check output in log
2019-10-08\T\02:16:12.006 [ERROR] Process Exit Code: 255
2019-10-08\T\02:16:12.006 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
```
One possible reason for that could be that we're exiting through the `OutOfMemory` exception handler.
### Modifications
Do not exit when OOM is triggered in the tests, so that we can actually see the (eventual) exception.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services