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 {
39
39
40
40
val (queries, expectedAnswers) = queriesAndExpectedAnswers.unzip
41
41
val warehousePath = Utils .createTempDir()
42
+ warehousePath.delete()
42
43
val metastorePath = Utils .createTempDir()
44
+ metastorePath.delete()
43
45
val cliScript = " ../../bin/spark-sql" .split(" /" ).mkString(File .separator)
44
46
45
47
val command = {
Original file line number Diff line number Diff line change @@ -300,7 +300,9 @@ abstract class HiveThriftServer2Test extends FunSuite with BeforeAndAfterAll wit
300
300
301
301
private def startThriftServer (port : Int , attempt : Int ) = {
302
302
warehousePath = Utils .createTempDir()
303
+ warehousePath.delete()
303
304
metastorePath = Utils .createTempDir()
305
+ metastorePath.delete()
304
306
logPath = null
305
307
logTailingProcess = null
306
308
You can’t perform that action at this time.
0 commit comments