Yunyung opened a new pull request, #4010: URL: https://github.com/apache/ambari/pull/4010
## What changes were proposed in this pull request? Fix precommit failure in the Java test org.apache.ambari.server.controller.internal.WidgetResourceProviderTest ``` mvn -am test -pl ambari-server -DskipPythonTests -Dmaven.test.failure.ignore -Dmaven.artifact.threads=10 -Drat.skip -DskipAdminWebTests=true ``` ## How was this patch tested? ### Before ``` [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.809 s <<< FAILURE! -- in org.apache.ambari.server.controller.internal.WidgetResourceProviderTest [ERROR] org.apache.ambari.server.controller.internal.WidgetResourceProviderTest.testUpdateResources -- Time elapsed: 0.061 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) ``` ### After ``` [INFO] Running org.apache.ambari.server.controller.internal.WidgetResourceProviderTest [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.075 s -- in org.apache.ambari.server.controller.internal.ServiceResourceProviderTest ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org