You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2023/01/16 06:14:46 UTC

[cassandra] branch cassandra-3.0 updated: When generate.sh fails its rc=0 - take 2

This is an automated email from the ASF dual-hosted git repository.

bereng pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-3.0 by this push:
     new f384e69482 When generate.sh fails its rc=0 - take 2
f384e69482 is described below

commit f384e694825a2cd0a95debf30accb153f00e80b0
Author: Bereng <be...@gmail.com>
AuthorDate: Fri Jan 13 06:56:37 2023 +0100

    When generate.sh fails its rc=0 - take 2
    
    patch by Andres de la Peña and Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-18032
    
    Co-authored-by: Berenguer Blasi <be...@gmail.com>
    Co-authored-by: Andres de la Peña <a....@gmail.com>
---
 .circleci/generate.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.circleci/generate.sh b/.circleci/generate.sh
index ac08687556..5f0606be0c 100755
--- a/.circleci/generate.sh
+++ b/.circleci/generate.sh
@@ -190,7 +190,8 @@ if (!($all)); then
            | sed -e "s/\\.java//" \
            | sed -e "s,^${2},," \
            | tr  '/' '.' \
-           | grep ${3} )
+           | grep ${3} )\
+           || : # avoid execution interruptions due to grep return codes and set -e
     for test in $tests; do
       echo "  $test"
       has_env_vars=true


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