Skip to content

Commit

Permalink
before all
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Oct 21, 2021
1 parent 98f9364 commit 10f788a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package org.apache.kyuubi

import org.apache.kyuubi.config.KyuubiConf

import scala.collection.mutable.ArrayBuffer

// scalastyle:off
Expand All @@ -43,6 +45,7 @@ trait KyuubiFunSuite extends AnyFunSuite
// scalastyle:on
override def beforeAll(): Unit = {
System.setProperty(IS_TESTING.key, "true")
System.setProperty(KyuubiConf.AUTHENTICATION_SASL_PLAIN_AUTH_TYPE.key, "NONE")
doThreadPreAudit()
super.beforeAll()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class DDLTPCDSSuite extends WithKyuubiServer

override protected val conf: KyuubiConf = {
val kyuubiConf = KyuubiConf().set(KyuubiConf.ENGINE_IDLE_TIMEOUT, 20000L)
.set(KyuubiConf.AUTHENTICATION_SASL_PLAIN_AUTH_TYPE.key, "NONE")
extraConfigs.foreach { case (k, v) => kyuubiConf.set(k, v) }
kyuubiConf
}
Expand Down

0 comments on commit 10f788a

Please sign in to comment.