You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2022/04/29 15:51:47 UTC
[incubator-linkis] 10/11: add junit test
This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
commit 61b7acc285ebb46c246185f99874862583be6717
Author: peacewong <wp...@gmail.com>
AuthorDate: Fri Apr 29 16:56:23 2022 +0800
add junit test
---
.../scala/org/apache/linkis/governance/common/utils/JobUtilsTest.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linkis-computation-governance/linkis-computation-governance-common/src/test/scala/org/apache/linkis/governance/common/utils/JobUtilsTest.scala b/linkis-computation-governance/linkis-computation-governance-common/src/test/scala/org/apache/linkis/governance/common/utils/JobUtilsTest.scala
index bfeb038ee..a26d51a70 100644
--- a/linkis-computation-governance/linkis-computation-governance-common/src/test/scala/org/apache/linkis/governance/common/utils/JobUtilsTest.scala
+++ b/linkis-computation-governance/linkis-computation-governance-common/src/test/scala/org/apache/linkis/governance/common/utils/JobUtilsTest.scala
@@ -29,7 +29,7 @@ class JobUtilsTest {
def testGetJobIdFromMap(): Unit = {
val map: util.Map[String, Object] = new util.HashMap[String, Object]()
Assertions.assertNull(JobUtils.getJobIdFromMap(map))
- map.put(JobRequestConstants.JOB_ID, 100L)
+ map.put(JobRequestConstants.JOB_ID, "100")
Assertions.assertNotNull(JobUtils.getJobIdFromMap(map))
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org