[ https://issues.apache.org/jira/browse/CASSANDRA-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550562#comment-17550562 ]
Caleb Rackliffe commented on CASSANDRA-17608: --------------------------------------------- I think CASSANDRA-17116 just added a couple new metrics in {{StreamingMetrics}}, neither of which is the one related to the failed assertion in this test. In terms of the codepath that _does_ touch {{incomingProcessTime}}, the only change in {{StreamSession#receive()}} (where it's updated) is sync'ing on sending the "received" control message, which doesn't feel like it should affect the number of files streamed... > Fix testMetricsWithRebuildAndStreamingToTwoNodes > ------------------------------------------------ > > Key: CASSANDRA-17608 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17608 > Project: Cassandra > Issue Type: Bug > Components: CI > Reporter: Ekaterina Dimitrova > Priority: Normal > Fix For: 4.1-beta > > > [https://ci-cassandra.apache.org/job/Cassandra-4.1/4/testReport/org.apache.cassandra.distributed.test.metrics/StreamingMetricsTest/testMetricsWithRebuildAndStreamingToTwoNodes/] > > h3. > {code:java} > Error Message > [The amount of files received by node2 from node3 is not the expected one. > [expected: 5, actual: 6]] expected:<[5]L> but was:<[6]L> > Stacktrace > junit.framework.AssertionFailedError: [The amount of files received by node2 > from node3 is not the expected one. [expected: 5, actual: 6]] expected:<[5]L> > but was:<[6]L> at > org.apache.cassandra.distributed.test.metrics.StreamingMetricsTest.lambda$checkDataReceived$e7abd6ea$1(StreamingMetricsTest.java:368) > 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.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org