File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ class CliSuite extends FunSuite with BeforeAndAfterAll with Logging {
3939
4040 val (queries, expectedAnswers) = queriesAndExpectedAnswers.unzip
4141 val warehousePath = Utils .createTempDir()
42+ warehousePath.delete()
4243 val metastorePath = Utils .createTempDir()
44+ metastorePath.delete()
4345 val cliScript = " ../../bin/spark-sql" .split(" /" ).mkString(File .separator)
4446
4547 val command = {
Original file line number Diff line number Diff line change @@ -300,7 +300,9 @@ abstract class HiveThriftServer2Test extends FunSuite with BeforeAndAfterAll wit
300300
301301 private def startThriftServer (port : Int , attempt : Int ) = {
302302 warehousePath = Utils .createTempDir()
303+ warehousePath.delete()
303304 metastorePath = Utils .createTempDir()
305+ metastorePath.delete()
304306 logPath = null
305307 logTailingProcess = null
306308
You can’t perform that action at this time.
0 commit comments