Skip to content
Snippets Groups Projects
Commit 4feb46c5 authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Reynold Xin
Browse files

[SPARK-3401][PySpark] Wrong usage of tee command in python/run-tests

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #2272 from sarutak/SPARK-3401 and squashes the following commits:

2b35a59 [Kousuke Saruta] Modified wrong usage of tee command in python/run-tests
parent 90586190
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ rm -rf metastore warehouse ...@@ -33,7 +33,7 @@ rm -rf metastore warehouse
function run_test() { function run_test() {
echo "Running test: $1" echo "Running test: $1"
SPARK_TESTING=1 $FWDIR/bin/pyspark $1 2>&1 | tee -a > unit-tests.log SPARK_TESTING=1 $FWDIR/bin/pyspark $1 2>&1 | tee -a unit-tests.log
FAILED=$((PIPESTATUS[0]||$FAILED)) FAILED=$((PIPESTATUS[0]||$FAILED))
# Fail and exit on the first test failure. # Fail and exit on the first test failure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment