Commit a6dd607
committed
[SPARK-39273][PS][TESTS] Make PandasOnSparkTestCase inherit ReusedSQLTestCase
### What changes were proposed in this pull request?
This PR proposes to make `PandasOnSparkTestCase` inherit `ReusedSQLTestCase`.
### Why are the changes needed?
We don't need this:
```python
classmethod
def tearDownClass(cls):
# We don't stop Spark session to reuse across all tests.
# The Spark session will be started and stopped at PyTest session level.
# Please see pyspark/pandas/conftest.py.
pass
```
anymore in Apache Spark. This has existed to speed up the tests when the codes are in Koalas repository where the tests run sequentially in single process.
In Apache Spark, we run in multiple processes, and we don't need this anymore.
### Does this PR introduce _any_ user-facing change?
No, test-only.
### How was this patch tested?
Existing CI should test it out.
Closes apache#36652 from HyukjinKwon/SPARK-39273.
Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>1 parent 8052751 commit a6dd607
1 file changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
64 | | - | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
| |||
0 commit comments