nuodb/migration-tools

mysql integration tests don't work

treilly-nuodb opened this issue · 1 comments

Two failures related to datatypes2 table:

Running TestSuite
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.77 sec <<< FAILURE!
testTables(com.nuodb.migrator.integration.mysql.StructureTest)  Time elapsed: 0.016 sec  <<< FAILURE!
java.lang.AssertionError: JDBCTYPE of column c6 of table DATATYPES2 did not match expected [1] but found [5]
    at org.testng.Assert.fail(Assert.java:94)
    at org.testng.Assert.failNotEquals(Assert.java:494)
    at org.testng.Assert.assertEquals(Assert.java:123)
    at org.testng.Assert.assertEquals(Assert.java:370)
    at com.nuodb.migrator.integration.mysql.StructureTest.verifyTableColumns(StructureTest.java:160)
    at com.nuodb.migrator.integration.mysql.StructureTest.testTables(StructureTest.java:98)

And

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.79 sec <<< FAILURE!
testTables(com.nuodb.migrator.integration.mysql.StructureTest)  Time elapsed: 0.017 sec  <<< FAILURE!
java.lang.AssertionError: LENGTH of column c6 of table DATATYPES2 did not match expected [11] but found [2]
    at org.testng.Assert.fail(Assert.java:94)
    at org.testng.Assert.failNotEquals(Assert.java:494)
    at org.testng.Assert.assertEquals(Assert.java:123)
    at org.testng.Assert.assertEquals(Assert.java:176)
    at com.nuodb.migrator.integration.mysql.StructureTest.verifyTableColumns(StructureTest.java:171)
    at com.nuodb.migrator.integration.mysql.StructureTest.testTables(StructureTest.java:98)

This only happens with nuodb-2.0.3, if you use 2.0.2 the tests pass