[ https://issues.apache.org/jira/browse/CASSANDRA-16758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368372#comment-17368372 ]
Andres de la Peña commented on CASSANDRA-16758: ----------------------------------------------- Indeed getting rid of the driver's interferences without relaxing the assertion sounds like the way to go. Also it seems to fix the occasional failures in other tests in {{ClientResourceLimitsTest}}, like [these ones|https://app.circleci.com/pipelines/github/adelapena/cassandra/612/workflows/09dec5a9-2ac4-4595-b455-fce14aa381cf/jobs/6010]. Unfortunately {{testQueryUpdatesConcurrentMetricsUpdate}} seems [flaky|https://app.circleci.com/pipelines/github/adelapena/cassandra/613/workflows/693bbc01-eae8-4f56-8298-2811d72892d2/jobs/6015] with both approaches, but we can deal with that in a separate ticket if we think that it's not related. > Flaky ClientResourceLimitsTest > ------------------------------ > > Key: CASSANDRA-16758 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16758 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Berenguer Blasi > Assignee: Berenguer Blasi > Priority: Normal > Fix For: 4.0-rc2, 4.0, 4.0.x > > > Flaky > [ClientResourceLimitsTest|https://ci-cassandra.apache.org/job/Cassandra-4.0.0/35/testReport/junit/org.apache.cassandra.transport/ClientResourceLimitsTest/testBackPressureWhenEndpointLimitExceeded_cdc/] > {noformat} > Error Message > Timed out after waiting 5 seconds for paused connections metric to increment > due to backpressure expected:<11> but was:<24> > Stacktrace > junit.framework.AssertionFailedError: Timed out after waiting 5 seconds for > paused connections metric to increment due to backpressure expected:<11> but > was:<24> > at org.apache.cassandra.Util.spinAssertEquals(Util.java:610) > at > org.apache.cassandra.transport.ClientResourceLimitsTest.backPressureTest(ClientResourceLimitsTest.java:218) > at > org.apache.cassandra.transport.ClientResourceLimitsTest.testBackPressureWhenEndpointLimitExceeded(ClientResourceLimitsTest.java:179) > Standard Output > INFO [main] 2021-06-22 01:56:41,489 YamlConfigurationLoader.java:93 - > Configuration location: > file:////home/cassandra/cassandra/build/test/cassandra.cdc.yaml > DEBUG [main] 2021-06-22 01:56:41,491 YamlConfigurationLoader.java:112 - > Loading settings from > file:////home/cassandra/cassandra/build/test/cassandra.cdc.yaml > DEBUG [main] 2021-06-22 01:56:41,551 InternalLoggerFactory.java:63 - Using > SLF4J as the default logging framework > DEBUG [main] 2021-06-22 01:56:41,565 PlatformDependent0.java:417 - -D > ...[truncated 765272 chars]... > org.apache.cassandra.transport.SimpleClient.execute(SimpleClient.java:275) > at > org.apache.cassandra.transport.ClientResourceLimitsTest.lambda$testQueryUpdatesConcurrentMetricsUpdate$11(ClientResourceLimitsTest.java:352) > at java.lang.Thread.run(Thread.java:748) > DEBUG [Test Cluster-nio-worker-0] 2021-06-22 01:57:08,353 Slf4JLogger.java:81 > - Freed 24 thread-local buffer(s) from thread: Test Cluster-nio-worker-0 > INFO [main] 2021-06-22 01:57:08,364 Server.java:171 - Stop listening for CQL > clients > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org