From 8cc2ea6694c2ad0c105a1167e8e927fafdf94855 Mon Sep 17 00:00:00 2001 From: fwang12 Date: Thu, 21 Oct 2021 21:11:31 +0800 Subject: [PATCH] fix ut --- .../src/test/scala/org/apache/kyuubi/KyuubiFunSuite.scala | 3 --- .../src/test/scala/org/apache/kyuubi/WithKyuubiServer.scala | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/kyuubi-common/src/test/scala/org/apache/kyuubi/KyuubiFunSuite.scala b/kyuubi-common/src/test/scala/org/apache/kyuubi/KyuubiFunSuite.scala index 881c32aa847..35d328e01b2 100644 --- a/kyuubi-common/src/test/scala/org/apache/kyuubi/KyuubiFunSuite.scala +++ b/kyuubi-common/src/test/scala/org/apache/kyuubi/KyuubiFunSuite.scala @@ -17,8 +17,6 @@ package org.apache.kyuubi -import org.apache.kyuubi.config.KyuubiConf - import scala.collection.mutable.ArrayBuffer // scalastyle:off @@ -45,7 +43,6 @@ 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() } diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/WithKyuubiServer.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/WithKyuubiServer.scala index cc6d45cc8e9..398bb89940d 100644 --- a/kyuubi-server/src/test/scala/org/apache/kyuubi/WithKyuubiServer.scala +++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/WithKyuubiServer.scala @@ -45,6 +45,7 @@ trait WithKyuubiServer extends KyuubiFunSuite { conf.setIfMissing(ENGINE_IDLE_TIMEOUT, 10000L) conf.set(HA_ZK_QUORUM, zkServer.getConnectString) conf.set(HA_ZK_ACL_ENABLED, false) + conf.set(KyuubiConf.AUTHENTICATION_SASL_PLAIN_AUTH_TYPE, "NONE") // TODO KYUUBI #745 conf.setIfMissing(ENGINE_INIT_TIMEOUT, 300000L)