Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.6
-
None
-
None
Description
The test is comparing hardcoded string that represents map, however map order is JDK version specific thus resulting in:
junit.framework.AssertionFailedError: expected:<{"k[3":"v3","k1":"v1","k2":"v2]"}> but was:<{"k[1":"v1","k2":"v2","k3":"v3]"}> at org.apache.sqoop.util.TestSqoopJsonUtil.testGetJsonStringFromMap(TestSqoopJsonUtil.java:31)