[
https://issues.apache.org/jira/browse/AMBARI-26466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jialiang Cai resolved AMBARI-26466.
-----------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
> WidgetResourceProviderTest.testUpdateResources fails due to Jakarta
> Persistence API update
> ------------------------------------------------------------------------------------------
>
> Key: AMBARI-26466
> URL: https://issues.apache.org/jira/browse/AMBARI-26466
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 3.1.0
> Reporter: Wei-Chiu Chuang
> Assignee: Jhen-Yung Hsu
> Priority: Major
> Labels: newbie
> Fix For: 3.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {noformat}
> [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.25
> s <<< FAILURE! -- in
> org.apache.ambari.server.controller.internal.WidgetResourceProviderTest
> [ERROR]
> org.apache.ambari.server.controller.internal.WidgetResourceProviderTest.testUpdateResources
> -- Time elapsed: 0.270 s <<< FAILURE!
> org.junit.ComparisonFailure:
> expected:<[[{"name":"new_value","new_name":"new_value2"}]]> but was:<[[
> {
> "name": "new_value",
> "new_name": "new_value2"
> }
> ]]>
> at org.junit.Assert.assertEquals(Assert.java:125)
> at org.junit.Assert.assertEquals(Assert.java:147)
> at
> org.apache.ambari.server.controller.internal.WidgetResourceProviderTest.testUpdateResources(WidgetResourceProviderTest.java:364)
> {noformat}
> Looks like the Jakrata update changed JSON string format.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]