This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.3.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.1 by this push:
new 254a127e4 feat: udf-client unit test (#3485)
254a127e4 is described below
commit 254a127e4c96ab588849fde5f470c3db72533ed8
Author: ruY <[email protected]>
AuthorDate: Fri Sep 23 18:06:54 2022 +0800
feat: udf-client unit test (#3485)
---
.../linkis/udf/UDFClientConfigurationTest.scala | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git
a/linkis-public-enhancements/linkis-udf/linkis-udf-client/src/test/scala/org/apache/linkis/udf/UDFClientConfigurationTest.scala
b/linkis-public-enhancements/linkis-udf/linkis-udf-client/src/test/scala/org/apache/linkis/udf/UDFClientConfigurationTest.scala
new file mode 100644
index 000000000..775ff02b4
--- /dev/null
+++
b/linkis-public-enhancements/linkis-udf/linkis-udf-client/src/test/scala/org/apache/linkis/udf/UDFClientConfigurationTest.scala
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.linkis.udf
+
+import org.junit.jupiter.api.{Assertions, DisplayName, Test}
+
+class UDFClientConfigurationTest {
+
+ @Test
+ @DisplayName("staticCommonConst")
+ def staticCommonConst(): Unit = {
+
+ val serviceName = "linkis-ps-publicservice"
+ Assertions.assertEquals(serviceName,
UDFClientConfiguration.UDF_SERVICE_NAME.getValue)
+
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]