This is an automated email from the ASF dual-hosted git repository.
haejoon 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 032e53180d37 [SPARK-50311][TESTS][FOLLOWUP] Fix test name properly
032e53180d37 is described below
commit 032e53180d3776fad56e6b3e8279fb447d3c9141
Author: Haejoon Lee <[email protected]>
AuthorDate: Fri Jan 3 09:16:18 2025 +0900
[SPARK-50311][TESTS][FOLLOWUP] Fix test name properly
### What changes were proposed in this pull request?
This is minor followup for https://github.com/apache/spark/pull/48843 to
fix test name properly from Python file
### Why are the changes needed?
Use proper test name
### Does this PR introduce _any_ user-facing change?
No, it's test only
### How was this patch tested?
CI
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #49199 from itholic/SPARK-50311-followup-2.
Authored-by: Haejoon Lee <[email protected]>
Signed-off-by: Haejoon Lee <[email protected]>
---
python/pyspark/sql/tests/connect/test_parity_job_cancellation.py | 2 +-
python/pyspark/sql/tests/test_job_cancellation.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/pyspark/sql/tests/connect/test_parity_job_cancellation.py
b/python/pyspark/sql/tests/connect/test_parity_job_cancellation.py
index c7f50495af15..c5184b04d6aa 100644
--- a/python/pyspark/sql/tests/connect/test_parity_job_cancellation.py
+++ b/python/pyspark/sql/tests/connect/test_parity_job_cancellation.py
@@ -57,7 +57,7 @@ class JobCancellationParityTests(JobCancellationTestsMixin,
ReusedConnectTestCas
if __name__ == "__main__":
import unittest
- from pyspark.sql.tests.connect.test_parity_serde import * # noqa: F401
+ from pyspark.sql.tests.connect.test_parity_job_cancellation import * #
noqa: F401
try:
import xmlrunner # type: ignore[import]
diff --git a/python/pyspark/sql/tests/test_job_cancellation.py
b/python/pyspark/sql/tests/test_job_cancellation.py
index 6fc404b0a0b3..a046c9c01811 100644
--- a/python/pyspark/sql/tests/test_job_cancellation.py
+++ b/python/pyspark/sql/tests/test_job_cancellation.py
@@ -172,7 +172,7 @@ class JobCancellationTests(JobCancellationTestsMixin,
ReusedSQLTestCase):
if __name__ == "__main__":
- from pyspark.sql.tests.test_session import * # noqa: F401
+ from pyspark.sql.tests.test_job_cancellation import * # noqa: F401
try:
import xmlrunner
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]