Skip to content

Commit c7bac57

Browse files
Davies LiuAndrew Or
authored andcommitted
[SPARK-5780] [PySpark] Mute the logging during unit tests
There a bunch of logging coming from driver and worker, it's noisy and scaring, and a lots of exception in it, people are confusing about the tests are failing or not. This PR will mute the logging during tests, only show them if any one failed. Author: Davies Liu <[email protected]> Closes #4572 from davies/mute and squashes the following commits: 1e9069c [Davies Liu] mute the logging during python tests (cherry picked from commit 0bf0315) Signed-off-by: Andrew Or <[email protected]>
1 parent 9c5454d commit c7bac57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ rm -rf metastore warehouse
3535
function run_test() {
3636
echo "Running test: $1" | tee -a $LOG_FILE
3737

38-
SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 2>&1 | tee -a $LOG_FILE
38+
SPARK_TESTING=1 time "$FWDIR"/bin/pyspark $1 >> $LOG_FILE 2>&1
3939

4040
FAILED=$((PIPESTATUS[0]||$FAILED))
4141

0 commit comments

Comments
 (0)