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

Paulo Motta commented on CASSANDRA-10340:
-----------------------------------------

when any exception is thrown, such as when a "read" command tries to read data 
that is not present (because it was deleted by a faulty operation, for 
instance). 

currently it only prints "FAILURE" and exits with zero, which is already 
sufficient to detect if an error has happened, but it would be nicer to exit 
with a non-zero status so dtests could fail automatically, without needing to 
check the output for a "FAILURE" string

> Stress should exit with non-zero status after failure
> -----------------------------------------------------
>
>                 Key: CASSANDRA-10340
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10340
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Paulo Motta
>            Priority: Minor
>              Labels: stress
>
> Currently, stress always exits with sucess status, even if after a failure. 
> In order to be able to rely on stress exit status during dtests it would be 
> nice if it exited with a non-zero status after failures.



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

Reply via email to