pyspark.sql.tests.SQLTests2 doesn't stop newly created spark context in the test and it might affect the following tests.
[Github] Pull Request #19158 (ueshin)