Description
TestHCatLoader testGetInputBytes() test fails when running on JDK 1.7.
The order of tests executed in JDK 1.7 is as follows:
testSchemaLoadBasic
testReadDataBasic
testConvertBooleanToInt
testSchemaLoadComplex
testReadPartitionedBasic
testProjectionsBasic
testGetInputBytes
The order of tests executed in JDK 1.6 is as follows:
testSchemaLoadBasic
testReadDataBasic
testSchemaLoadComplex
testReadPartitionedBasic
testProjectionsBasic
testGetInputBytes
testConvertBooleanToInt
The problem is that when : "testGetInputBytes" runs in the end, the tables are already deleted.
Simple fix, is to set the "guardTestCount" to 7 and also correct the if else loop in "guardedTearDownAfterClass"
Regards
Viraj