You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2020/04/02 18:57:00 UTC

[jira] [Comment Edited] (CASSANDRA-15650) Fix flaky test org.apache.cassandra.distributed.test.*RepairCoordinatorFastTest

    [ https://issues.apache.org/jira/browse/CASSANDRA-15650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073949#comment-17073949 ] 

David Capwell edited comment on CASSANDRA-15650 at 4/2/20, 6:56 PM:
--------------------------------------------------------------------

reading JIRA now, the function throws Error or RuntimeException, so only errors won't be thrown as a RuntimeException.

There was also another issue found CASSANDRA-15684, the testing was based before the jvm dtests got pulled out and the merge didn't conflict since 4 files which were supposed to be deleted were not.  I am working on a patch for this.


was (Author: dcapwell):
reading JIRA now, the function throws Error or RuntimeException, so only errors won't be thrown as a RuntimeException.

There was also another issue found, the testing was based before the jvm dtests got pulled out and the merge didn't conflict since 4 files which were supposed to be deleted were not.  I am working on a patch for this.

> Fix flaky test org.apache.cassandra.distributed.test.*RepairCoordinatorFastTest
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15650
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15650
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.0-alpha
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Test failure: https://app.circleci.com/pipelines/github/dcapwell/cassandra/177/workflows/3dff37a5-9bf4-40e2-8d5b-f127b416dc79/jobs/862
> {code}
> [junit-timeout] Testcase: onlyCoordinator[SEQUENTIAL/true](org.apache.cassandra.distributed.test.FullRepairCoordinatorFastTest):	FAILED
> [junit-timeout] nodetool command repair was successful but not expected to be. Actual: 0
> [junit-timeout] junit.framework.AssertionFailedError: nodetool command repair was successful but not expected to be. Actual: 0
> [junit-timeout] 	at org.apache.cassandra.distributed.api.NodeToolResult$Asserts.failure(NodeToolResult.java:76)
> [junit-timeout] 	at org.apache.cassandra.distributed.test.RepairCoordinatorFast.onlyCoordinator(RepairCoordinatorFast.java:255)
> [junit-timeout] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [junit-timeout] 	at java.lang.Thread.run(Thread.java:748)
> {code}
> [Circle CI LOWER|https://circleci.com/gh/dcapwell/cassandra/tree/bug%2FrepairCoordinatorTestFlaky]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org