This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e68b98a35cfe [MINOR][PYTHON][TESTS] Restore daily coverage build
e68b98a35cfe is described below
commit e68b98a35cfed0930f59f30b2f8a542936a6a480
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Tue Jan 7 10:16:43 2025 +0800
[MINOR][PYTHON][TESTS] Restore daily coverage build
### What changes were proposed in this pull request?
Skip `test_value_state_ttl_expiration` in daily coverage build
### Why are the changes needed?
to restore daily coverage build
https://github.com/apache/spark/actions/runs/12630507164
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
PR build with
```
default: '{"PYSPARK_IMAGE_TO_TEST": "python-311", "PYTHON_TO_TEST":
"python3.11", "PYSPARK_CODECOV": "true"}'
default: '{"pyspark": "true"}'
```
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #49388 from zhengruifeng/py_fix_cov.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/sql/tests/pandas/test_pandas_transform_with_state.py | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/python/pyspark/sql/tests/pandas/test_pandas_transform_with_state.py
b/python/pyspark/sql/tests/pandas/test_pandas_transform_with_state.py
index 7a00f2f43d14..516a95a91a5e 100644
--- a/python/pyspark/sql/tests/pandas/test_pandas_transform_with_state.py
+++ b/python/pyspark/sql/tests/pandas/test_pandas_transform_with_state.py
@@ -314,6 +314,9 @@ class TransformWithStateInPandasTestsMixin:
SimpleTTLStatefulProcessor(), check_results, False,
"processingTime"
)
+ @unittest.skipIf(
+ "COVERAGE_PROCESS_START" in os.environ, "Flaky with coverage enabled,
skipping for now."
+ )
def test_value_state_ttl_expiration(self):
def check_results(batch_df, batch_id):
if batch_id == 0:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]