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

David Capwell commented on CASSANDRA-15524:
-------------------------------------------

bq. Wanted to ask what is expected to be fixed here? Do we want to update this 
test because some functionality was changed? Or the test is behaving correctly 
but a functionality has to be fixed?

The first thing is to classify; test issue or system issue?  If the issue is 
with the test then updating the test is enough.  If the issue is with the 
system itself, then we should figure out how to fix that.

[~jmeredithco] the CI builds are closer to the following command

{code}
$ ant testclasslist -Dtest.classlistfile=<( echo 
"org/apache/cassandra/distributed/test/MessageForwardingTest.java" ) 
-Dtest.classlistprefix=distributed
{code}

I "feel" that it happens more frequently on java 11, but have not looked close 
enough to the test history to confirm.

> Fix flakey test - org.apache.cassandra.distributed.test.MessageForwardingTest 
> mutationsForwardedToAllReplicasTest
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15524
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15524
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 4.0-alpha
>
>
> {code}
> junit.framework.AssertionFailedError: /127.0.0.2 should have been randomized 
> to forward messages
>       at 
> org.apache.cassandra.distributed.test.MessageForwardingTest.lambda$mutationsForwardedToAllReplicasTest$7(MessageForwardingTest.java:87)
>       at java.base/java.util.HashMap.forEach(HashMap.java:1336)
>       at 
> org.apache.cassandra.distributed.test.MessageForwardingTest.mutationsForwardedToAllReplicasTest(MessageForwardingTest.java:87)
>       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)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to