[ 
https://issues.apache.org/jira/browse/CASSANDRA-21166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059299#comment-18059299
 ] 

Dmitry Konstantinov edited comment on CASSANDRA-21166 at 2/18/26 1:20 PM:
--------------------------------------------------------------------------

Too many threads can lead to OOM, so new Thread is replaced with an executor
Side effect: HintsServiceTest.testPageSeek  time is reduced from more than a 
minute to 10-15 seconds. 
Also spinUntilTrue is added to HintsServiceTest.testPageSeek to avoid flaky NPE 
(HintsStore is populated in an async way)

HintServiceBytemanTest uses MockMessagingSpy/MatcherResponse as well.


was (Author: dnk):
Too many threads can lead to OOM, so new Thread is replaced with an executor
Side effect: HintsServiceTest.testPageSeek  time is reduced from more than a 
minute to 10-15 seconds. 
Also spinUntilTrue is added to HintsServiceTest.testPageSeek to avoid flaky NPE 
(HintsStore is populated in an async way)

> Test failure: 
> org.apache.cassandra.hints.HintServiceBytemanTest/HintsServiceTest for jdk21
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21166
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21166
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>         Attachments: CASSANDRA-21166_ci_summary.htm, 
> CASSANDRA-21166_results_details.tar.xz
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/2399/]
> [https://butler.cassandra.apache.org/#/ci/upstream/compare/Cassandra-trunk/trunk]
> it looks like the tests are failing only for JDK21
> similar story is for HintsServiceTest.testPageSeek
> it maybe related to the recent JDK support story changes (CASSANDRA-18831)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to