[KYUUBI #1134] [TEST] DataLake suites should clean up withKyuubiConf instead of extraConfigs
This commit is contained in:
parent
4dd4e83e91
commit
1b40443d81
@ -23,12 +23,14 @@ import org.apache.kyuubi.tags.DeltaTest
|
|||||||
|
|
||||||
@DeltaTest
|
@DeltaTest
|
||||||
class SparkDeltaOperationSuite extends WithSparkSQLEngine with BasicDeltaJDBCTests {
|
class SparkDeltaOperationSuite extends WithSparkSQLEngine with BasicDeltaJDBCTests {
|
||||||
|
|
||||||
override protected def jdbcUrl: String = getJdbcUrl
|
override protected def jdbcUrl: String = getJdbcUrl
|
||||||
|
|
||||||
override def withKyuubiConf: Map[String, String] = extraConfigs
|
override def withKyuubiConf: Map[String, String] = extraConfigs
|
||||||
|
|
||||||
override def afterAll(): Unit = {
|
override def afterAll(): Unit = {
|
||||||
super.afterAll()
|
super.afterAll()
|
||||||
for ((k, _) <- extraConfigs) {
|
for ((k, _) <- withKyuubiConf) {
|
||||||
System.clearProperty(k)
|
System.clearProperty(k)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,12 +23,14 @@ import org.apache.kyuubi.tags.IcebergTest
|
|||||||
|
|
||||||
@IcebergTest
|
@IcebergTest
|
||||||
class SparkIcebergOperationSuite extends WithSparkSQLEngine with BasicIcebergJDBCTests {
|
class SparkIcebergOperationSuite extends WithSparkSQLEngine with BasicIcebergJDBCTests {
|
||||||
|
|
||||||
override protected def jdbcUrl: String = getJdbcUrl
|
override protected def jdbcUrl: String = getJdbcUrl
|
||||||
|
|
||||||
override def withKyuubiConf: Map[String, String] = extraConfigs
|
override def withKyuubiConf: Map[String, String] = extraConfigs
|
||||||
|
|
||||||
override def afterAll(): Unit = {
|
override def afterAll(): Unit = {
|
||||||
super.afterAll()
|
super.afterAll()
|
||||||
for ((k, _) <- extraConfigs) {
|
for ((k, _) <- withKyuubiConf) {
|
||||||
System.clearProperty(k)
|
System.clearProperty(k)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user