[
https://issues.apache.org/jira/browse/CASSANDRA-17618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597373#comment-17597373
]
Brandon Williams commented on CASSANDRA-17618:
----------------------------------------------
I went ahead and tried the 'return after fail' method since that made the most
sense to me, and it makes the check on node1 exactly like the one for node2 in
the test, since the messageHandlers will now be empty. It seems like being
present before and checking with a count of zero was perhaps working around the
fact that they were not empty.
||Branch||CI||
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-17618-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/623/workflows/9f589855-8f3b-4239-88a9-11f6e9ea50f7],
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/623/workflows/4bd7bedc-732d-4c5c-8df2-c389db855db0],
[+500|https://app.circleci.com/pipelines/github/driftx/cassandra/623/workflows/480c81d2-5689-4ac5-ab1f-7e0b1e82c584/jobs/7095|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-17618-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/624/workflows/7f3170f6-6471-43aa-aceb-6801b2fbc6e6],
[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/624/workflows/808dbc03-55a8-465b-9ce2-e1ae1f2d1a6a]|
> Fix flaky
> org.apache.cassandra.distributed.test.InternodeEncryptionEnforcementTest
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-17618
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17618
> Project: Cassandra
> Issue Type: Bug
> Components: CI
> Reporter: Ekaterina Dimitrova
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 4.1-beta
>
>
> The test is flaky on 4.1:
> https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1604/workflows/243a20a5-eda2-4c28-95e8-ab6c4f85a891/jobs/10911
> {code:java}
> junit.framework.AssertionFailedError: expected:<0> but was:<1>
> at
> org.apache.cassandra.distributed.test.InternodeEncryptionEnforcementTest.lambda$testConnectionsAreRejectedWithInvalidConfig$81c80a4a$1(InternodeEncryptionEnforcementTest.java:91)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:81)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:47)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:57)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]