Skip to content

Commit

Permalink
add configration test
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kkhuang committed Oct 7, 2023
1 parent dd25983 commit 8384fe6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.
#

linkis.jobhistory.error.msg.tip=properties支持中文
linkis.jobhistory.error.msg.tip=properties支持中文
linkis.test.error.conf=123
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@ class ConfigurationTest {
Assertions.assertFalse(Configuration.isAdmin("HaDooop"))
}


@Test private[conf] def testFormatValue(): Unit = {
val confvalue = CommonVars[Int]("linkis.test.error.conf", 456).getValue
Assertions.assertTrue(123 == confvalue)
}


}

0 comments on commit 8384fe6

Please sign in to comment.