[
https://issues.apache.org/jira/browse/CASSANDRA-21172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059414#comment-18059414
]
Dmitry Konstantinov commented on CASSANDRA-21172:
-------------------------------------------------
yes, I think so, taking in account that we have jdk 11/17 there, so the
Process.pid() API is available (it was added since jdk9)
> Improve diagnostics of background JUnit tests killed by Linux OOM killer and
> test timeouts for JUnit runs on CI
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21172
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21172
> Project: Apache Cassandra
> Issue Type: Task
> Components: CI, Test/unit
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> * JUnit starts a background forked JVM and it can be killed by Linux OOM
> killer. We can check if it happens to simplify failed junit tests
> troubleshooting
> * JUnit can print a thread dump if a unit test timed out (we have this logic
> in the code but it does not work by some reason)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]