diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala index 180e5afd64f..0508a65b574 100644 --- a/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala +++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala @@ -418,7 +418,7 @@ class AdminResourceSuite extends KyuubiFunSuite with RestFrontendTestHelper { hs2ProxyUser: Option[String]): Response = { var internalWebTarget = webTarget.path("api/v1/admin/engine") .queryParam("sharelevel", "USER") - .queryParam("type", "spark_sql") + .queryParam("type", "SPARK_SQL") kyuubiProxyUser.map(username => internalWebTarget = internalWebTarget.queryParam("proxyUser", username))