Details
Description
After the commit of HBASE-9435, the TestColumnSchemaModel and TestTableSchemaModel test cases starts to fail when executing 0.96.0 and trunk runAllTests maven building with IBM IBM Java 6. Looks like the problem is related to the print order of the HashMap variables used in ColumnSchemaModel.java and TableSchemaModel.java.
Below are the output of the failed tests:
Running org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 205.174 sec <<< FAILURE!
Running org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 205.174 sec <<< FAILURE!
Results :
Failed tests: testToXML(org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel): expected:<...LOCKSIZE="16384" BLO[OMFILTER="NONE" BLOCKCACHE="true" COMPRESSION="GZ" VERSIONS="1" TTL="86400" IN_MEMORY="false]"/>> but was:<...LOCKSIZE="16384" BLO[CKCACHE="true" VERSIONS="1" TTL="86400" COMPRESSION="GZ" IN_MEMORY="false" BLOOMFILTER="NONE]"/>>
testToXML(org.apache.hadoop.hbase.rest.model.TestTableSchemaModel): expected:<...LOCKSIZE="16384" BLO[OMFILTER="NONE" BLOCKCACHE="true" COMPRESSION="GZ" VERSIONS="1" TTL="86400" IN_MEMORY="false]"/></TableSchema>> but was:<...LOCKSIZE="16384" BLO[CKCACHE="true" VERSIONS="1" TTL="86400" COMPRESSION="GZ" IN_MEMORY="false" BLOOMFILTER="NONE]"/></TableSchema>>