You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2026/04/30 04:48:50 UTC
[PR] [MINOR][PYTHON][TESTS] Rename `test_resources` to `test_parity_resources` for Connect parity convention [spark]
zhengruifeng opened a new pull request, #55618:
URL: https://github.com/apache/spark/pull/55618
### What changes were proposed in this pull request?
The Connect parity test file `python/pyspark/sql/tests/connect/test_resources.py` and its class `ResourceProfileTests` are the only ones in `python/pyspark/sql/tests/connect/` that don't follow the naming convention used by 200+ other parity tests:
- Filename should be `test_parity_<name>.py`.
- Class name should be `<Name>ParityTests`.
This PR renames:
- `python/pyspark/sql/tests/connect/test_resources.py` -> `python/pyspark/sql/tests/connect/test_parity_resources.py`
- `ResourceProfileTests` -> `ResourceProfileParityTests`
References to the old module path are updated in `dev/sparktestsupport/modules.py` and `.github/workflows/build_python_connect.yml`.
### Why are the changes needed?
Consistency. The `test_parity_*` filename and `*ParityTests` class name are the established convention across the Connect parity test suite; this rename brings the resource profile parity tests in line and makes it easier to locate and identify parity tests at a glance.
### Does this PR introduce _any_ user-facing change?
No. Test-only change with no behavioral impact.
### How was this patch tested?
Existing tests; only filename and class name changed. The test module is still discovered through `dev/sparktestsupport/modules.py` and the connect CI workflow.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.7)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [MINOR][PYTHON][TESTS] Rename `test_resources` to `test_parity_resources` for Connect parity convention [spark]
Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng closed pull request #55618: [MINOR][PYTHON][TESTS] Rename `test_resources` to `test_parity_resources` for Connect parity convention
URL: https://github.com/apache/spark/pull/55618
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [MINOR][PYTHON][TESTS] Rename `test_resources` to `test_parity_resources` for Connect parity convention [spark]
Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #55618:
URL: https://github.com/apache/spark/pull/55618#issuecomment-4351755082
merged to master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org