You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2023/07/28 19:46:00 UTC

[jira] [Commented] (CASSANDRA-18704) Test Failure: HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades ClassCastException: Established -> Disconnected

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

Ekaterina Dimitrova commented on CASSANDRA-18704:
-------------------------------------------------

I noticed the following TO DO on top of the class:
// TODO: test failure due to exception, timeout, etc
 
Maybe this test was never in good shape, and this is not a 5.0 regression. Good to be verified by whoever assigns the ticket. 

> Test Failure: HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades ClassCastException: Established ->  Disconnected
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18704
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18704
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Internode
>            Reporter: Michael Semb Wever
>            Priority: Normal
>             Fix For: 5.x
>
>
> The following has been witnesses a number of times in repeated runs, in different jdks and different test configurations.
> {noformat}
> java.lang.ClassCastException: class org.apache.cassandra.net.OutboundConnection$Established cannot be cast to class org.apache.cassandra.net.OutboundConnection$Disconnected (org.apache.cassandra.net.OutboundConnection$Established and org.apache.cassandra.net.OutboundConnection$Disconnected are in unnamed module of loader 'app')
> 	at org.apache.cassandra.net.OutboundConnection$State.disconnected(OutboundConnection.java:201)
> 	at org.apache.cassandra.net.OutboundConnection$1Initiate.initiate(OutboundConnection.java:1248)
> 	at org.apache.cassandra.net.OutboundConnection.initiate(OutboundConnection.java:1254)
> 	at org.apache.cassandra.net.HandshakeTest.initiateOutbound(HandshakeTest.java:365)
> 	at org.apache.cassandra.net.HandshakeTest.testOutboundFallbackOnSSLHandshakeFailure(HandshakeTest.java:380)
> 	at org.apache.cassandra.net.HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades(HandshakeTest.java:255)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {noformat}
> ref: https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/217/workflows/ce7392fa-756a-4392-b3a5-206bb2940553/jobs/15965/tests 



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

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