Skip to content

Commit

Permalink
Merge pull request #301 from WeDataSphere/dev-1.1.16-fix-conf-error
Browse files Browse the repository at this point in the history
add  configration test
  • Loading branch information
casionone authored Oct 7, 2023
2 parents 395ec85 + 8384fe6 commit 42f5837
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 42f5837

Please sign in to comment.