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

Maxim Muzafarov commented on CASSANDRA-18780:
---------------------------------------------

[~benedict] Hey, it seems you are the author of this test. Can you please take 
a look at this simple fix for the test? Do you have time to look at it? I was 
trying to verify the CASSANDRA-16360 and stumbled upon this problem.

Changes are here:
https://github.com/apache/cassandra/pull/2613/files

> ConnectionBurnTest fails with NullPointerException
> --------------------------------------------------
>
>                 Key: CASSANDRA-18780
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18780
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/burn
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.x
>
>
> The ConnectionBurnTest is used to check the throughput of outgoing and 
> incoming connections and report the results of execution to the log. During 
> the test run, I noticed a couple of errors that actually prevent us from 
> getting any results.
>  # The {{NullPointerException}} is thrown during the test execution
> {code:java}
> java.lang.NullPointerException: null
>       at 
> org.apache.cassandra.metrics.ClientMetrics.unpauseConnection(ClientMetrics.java:69)
>       at 
> org.apache.cassandra.net.AbstractMessageHandler.onReserveCapacityRegained(AbstractMessageHandler.java:314)
>       at 
> org.apache.cassandra.net.AbstractMessageHandler.onGlobalReserveCapacityRegained(AbstractMessageHandler.java:289)
>       at 
> org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$Ticket.reactivateHandler(AbstractMessageHandler.java:792)
>       at 
> org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$ReactivateHandlers.run(AbstractMessageHandler.java:740)
> {code}
>  # The exception is swallowed and the test exits almost immediately, but the 
> exception itself is not rethrown and the exit code is zero. The test is 
> always green on CI, but a fatal exception has occurred;



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to