Commit 4304d0b
committed
[SPARK-21950][SQL][PYTHON][TEST] pyspark.sql.tests.SQLTests2 should stop SparkContext.
## What changes were proposed in this pull request?
`pyspark.sql.tests.SQLTests2` doesn't stop newly created spark context in the test and it might affect the following tests.
This pr makes `pyspark.sql.tests.SQLTests2` stop `SparkContext`.
## How was this patch tested?
Existing tests.
Author: Takuya UESHIN <[email protected]>
Closes #19158 from ueshin/issues/SPARK-21950.
(cherry picked from commit 57bc1e9)
Signed-off-by: Takuya UESHIN <[email protected]>1 parent 0848df1 commit 4304d0b
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2252 | 2252 | | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | | - | |
2256 | | - | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2257 | 2261 | | |
2258 | 2262 | | |
2259 | 2263 | | |
| |||
0 commit comments