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

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3bcdfc4  In docker tests, don't fail if build/test/logs doesn't exist, 
as not all tests create it
3bcdfc4 is described below

commit 3bcdfc4596761ab681cf698d6b57bb88c0a03ad4
Author: Mick Semb Wever <[email protected]>
AuthorDate: Fri Apr 2 12:50:16 2021 +0200

    In docker tests, don't fail if build/test/logs doesn't exist, as not all 
tests create it
---
 build-scripts/cassandra-test-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-scripts/cassandra-test-docker.sh 
b/build-scripts/cassandra-test-docker.sh
index ce14a73..f983c6f 100644
--- a/build-scripts/cassandra-test-docker.sh
+++ b/build-scripts/cassandra-test-docker.sh
@@ -21,7 +21,7 @@ if [ "$#" -lt 3 ]; then
     echo "cassandra-test.sh (${1} ${2}) cassandra: `git log -1 
--pretty=format:'%h %an %ad %s'`" | tee "${1}-$(echo $2 | sed 
's/\//-/')-cassandra.head"
     echo "cassandra-test.sh (${1} ${2}) cassandra-builds: `git -C 
../cassandra-builds log -1 --pretty=format:'%h %an %ad %s'`" | tee -a 
"${1}-$(echo $2 | sed 's/\//-/')-cassandra.head"
     bash ../cassandra-builds/build-scripts/cassandra-test.sh "$@"
-    find build/test/logs -type f -name "*.log" | xargs xz -qq
+    if [ -d build/test/logs ]; then find build/test/logs -type f -name "*.log" 
| xargs xz -qq ; fi
 else
     # start the docker container
     if [ "$#" -lt 5 ]; then

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to