[KYUUBI #1134] [TEST] DataLake suites should clean up withKyuubiConf instead of extraConfigs

This commit is contained in:
Cheng Pan 2021-09-23 09:31:29 +08:00
parent 4dd4e83e91
commit 1b40443d81
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
2 changed files with 6 additions and 2 deletions

View File

@ -23,12 +23,14 @@ import org.apache.kyuubi.tags.DeltaTest
@DeltaTest
class SparkDeltaOperationSuite extends WithSparkSQLEngine with BasicDeltaJDBCTests {
override protected def jdbcUrl: String = getJdbcUrl
override def withKyuubiConf: Map[String, String] = extraConfigs
override def afterAll(): Unit = {
super.afterAll()
for ((k, _) <- extraConfigs) {
for ((k, _) <- withKyuubiConf) {
System.clearProperty(k)
}
}

View File

@ -23,12 +23,14 @@ import org.apache.kyuubi.tags.IcebergTest
@IcebergTest
class SparkIcebergOperationSuite extends WithSparkSQLEngine with BasicIcebergJDBCTests {
override protected def jdbcUrl: String = getJdbcUrl
override def withKyuubiConf: Map[String, String] = extraConfigs
override def afterAll(): Unit = {
super.afterAll()
for ((k, _) <- extraConfigs) {
for ((k, _) <- withKyuubiConf) {
System.clearProperty(k)
}
}