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

Joshua McKenzie commented on CASSANDRA-7713:
--------------------------------------------

This came up while I was working on CASSANDRA-7927.  The _stop test was always 
returning true regardless of whether or not the stop case on 
CommitLog.handleCommitError actually stopped anything or not, and having that 
dangling directory w/out write permissions can cause problems (as evidenced 
here).

I've updated that unit test in that ticket to actually pass the stop error in 
rather than trying to simulate it to confirm the Gossiper is shutting down; if 
the general public is happy with that solution we can close this as duplicate / 
not a problem after that ticket.

> CommitLogTest failure causes cascading unit test failures
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-7713
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7713
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Michael Shuler
>            Assignee: Bogdan Kanivets
>             Fix For: 2.0.11
>
>         Attachments: CommitLogTest.system.log.txt
>
>
> When CommitLogTest.testCommitFailurePolicy_stop fails or times out, 
> {{commitDir.setWritable(true)}} is never reached, so the 
> build/test/cassandra/commitlog directory is left without write permissions, 
> causing cascading failure of all subsequent tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to