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

Joshua McKenzie commented on CASSANDRA-9941:
--------------------------------------------

Testing on this brought up a different issue: the ccm call to run_sstableverify 
is actually checking the contents of the data\ folder on the *root* cassandra 
installation directory rather than the ccm nodes. The test was failing out for 
me on the assertion checking for the failure text as I was sourcing from a 
local 2.2 checkout that I'd happened to perform stress on yesterday which still 
had data files lying around and it had the KS/CF that this test was looking for.

It's a separate ccm-bug that I'm discussing w/[~philipthompson] offline that 
shouldn't hold up inspection of this ticket. I'm out for the next week so if 
anyone wants to grab this in the interim, feel free.

> SSTableVerify has wrong return codes on windows
> -----------------------------------------------
>
>                 Key: CASSANDRA-9941
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9941
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Philip Thompson
>            Assignee: Joshua McKenzie
>             Fix For: 2.2.x
>
>
> The dtest {{offline_tools_test.py:TestOfflineTools.sstableverify_test}} is 
> failing on windows. When running sstableverify.bat on a nonexistent keyspace, 
> the correct error message is printed, but an error code of 0 for success is 
> returned, which does not match the correct behavior on linux, which returns 1.



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

Reply via email to