[ https://issues.apache.org/jira/browse/CASSANDRA-17239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470104#comment-17470104 ]
Jon Meredith commented on CASSANDRA-17239: ------------------------------------------ Starting commit CI Results (pending): ||Branch||Source||Circle CI||Jenkins|| |cassandra-3.0|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-17239-cassandra-3.0-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-17239-cassandra-3.0-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1350/]| |cassandra-3.11|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-17239-cassandra-3.11-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-17239-cassandra-3.11-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1351/]| |cassandra-4.0|[branch|https://github.com/jonmeredith/cassandra/tree/commit_remote_branch/CASSANDRA-17239-cassandra-4.0-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://app.circleci.com/pipelines/github/jonmeredith/cassandra?branch=commit_remote_branch%2FCASSANDRA-17239-cassandra-4.0-3F4CD5B8-B00A-4F97-B022-85FA3FED27A1]|[build|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1352/]| (no change to trunk, will add the merge commit to resolve). > Race in CompactionExecutorTest > ------------------------------ > > Key: CASSANDRA-17239 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17239 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Jon Meredith > Assignee: Jon Meredith > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x > > Time Spent: 0.5h > Remaining Estimate: 0h > > CompactionExecutorTest has a race between the runnable/callable under test > completing > and the {{afterExecute}} method stashing it for the test. Replace the > wait/sleep loop > with a {{SimpleCondition}} that is signaled once the test task throwable has > been recorded. > This seems fairly hard to hit but has happened on CI. It took about 2600 > iterations on my MacBook to trigger, but you can artificially hit frequently > by adding a sleep at the start of the afterExecute method. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org