Skip to content

Commit d4267e9

Browse files
committed
[SPARK-2808][Streaming][Kafka] fix stderr redirect in python test script
1 parent 30d991d commit d4267e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/run-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ rm -f $LOG_FILE
3636
rm -rf metastore warehouse
3737

3838
function run_test() {
39-
echo -en "Running test: $1 ... " | tee -a $LOG_FILE 2>&1
39+
echo -en "Running test: $1 ... " | tee -a $LOG_FILE
4040
start=$(date +"%s")
41-
SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 > $LOG_FILE
41+
SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 > $LOG_FILE 2>&1
4242

4343
FAILED=$((PIPESTATUS[0]||$FAILED))
4444

0 commit comments

Comments
 (0)