[ https://issues.apache.org/jira/browse/CASSANDRA-16690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359245#comment-17359245 ]
Andres de la Peña commented on CASSANDRA-16690: ----------------------------------------------- Agree, raising the timeout and adding the assertion looks good to me. I would also raise the timeout, perhaps to even longer than 500ms since we have seen longer pauses in CircleCI, maybe something like 5-10 seconds to be on the safe side. I think that the patch should also be applied to 3.0 and 3.11, since those branches also have the 10ms timeout. > Flaky NativeAllocatorTest.testBookKeeping > ----------------------------------------- > > Key: CASSANDRA-16690 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16690 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Berenguer Blasi > Assignee: Ekaterina Dimitrova > Priority: Normal > Fix For: 4.0-rc2, 4.0, 4.x > > > Flaky > [here|https://ci-cassandra.apache.org/job/Cassandra-4.0/52/testReport/junit/org.apache.cassandra.utils.memory/NativeAllocatorTest/testBookKeeping_cdc/] > {noformat} > Error Message > java.lang.AssertionError: expected:<0> but was:<1> > Stacktrace > java.util.concurrent.ExecutionException: java.lang.AssertionError: > expected:<0> but was:<1> > at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) > at > org.apache.cassandra.utils.memory.NativeAllocatorTest.testBookKeeping(NativeAllocatorTest.java:154) > 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) > Caused by: java.lang.AssertionError: expected:<0> but was:<1> > at > org.apache.cassandra.utils.memory.NativeAllocatorTest.lambda$testBookKeeping$2(NativeAllocatorTest.java:131) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at java.base/java.lang.Thread.run(Thread.java:834) > {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