Skip to content

Commit

Permalink
[SPARK-19604][TESTS] Log the start of every Python test
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?
Right now, we only have info level log after we finish the tests of a Python test file. We should also log the start of a test. So, if a test is hanging, we can tell which test file is running.

## How was this patch tested?
This is a change for python tests.

Author: Yin Huai <yhuai@databricks.com>

Closes #16935 from yhuai/SPARK-19604.
  • Loading branch information
yhuai committed Feb 15, 2017
1 parent 865b2fd commit f6c3bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def run_individual_python_test(test_name, pyspark_python):
'PYSPARK_PYTHON': which(pyspark_python),
'PYSPARK_DRIVER_PYTHON': which(pyspark_python)
})
LOGGER.debug("Starting test(%s): %s", pyspark_python, test_name)
LOGGER.info("Starting test(%s): %s", pyspark_python, test_name)
start_time = time.time()
try:
per_test_output = tempfile.TemporaryFile()
Expand Down

0 comments on commit f6c3bba

Please sign in to comment.