Skip to content

Commit

Permalink
add configration test (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kkhuang authored Oct 8, 2023
1 parent 15a5e34 commit 88dd71a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
#

linkis.jobhistory.error.msg.tip=properties支持中文
linkis.test.error.conf=123
linkis.test.error.conf=123
linkis.test.error.conf2= 456
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ class ConfigurationTest {

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

}

0 comments on commit 88dd71a

Please sign in to comment.