Skip to content

Commit f6c3bba

Browse files
committed
[SPARK-19604][TESTS] Log the start of every Python test
## 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 <[email protected]> Closes #16935 from yhuai/SPARK-19604.
1 parent 865b2fd commit f6c3bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def run_individual_python_test(test_name, pyspark_python):
7272
'PYSPARK_PYTHON': which(pyspark_python),
7373
'PYSPARK_DRIVER_PYTHON': which(pyspark_python)
7474
})
75-
LOGGER.debug("Starting test(%s): %s", pyspark_python, test_name)
75+
LOGGER.info("Starting test(%s): %s", pyspark_python, test_name)
7676
start_time = time.time()
7777
try:
7878
per_test_output = tempfile.TemporaryFile()

0 commit comments

Comments
 (0)