Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql integration tests don't work #32

Open
treilly-nuodb opened this issue Mar 5, 2014 · 1 comment
Open

mysql integration tests don't work #32

treilly-nuodb opened this issue Mar 5, 2014 · 1 comment
Labels

Comments

@treilly-nuodb
Copy link
Contributor

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)

@treilly-nuodb
Copy link
Contributor Author

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

treilly-nuodb added a commit to treilly-nuodb/migration-tools that referenced this issue Mar 5, 2014
@jgetto jgetto added the bug label Mar 6, 2014
tazija added a commit that referenced this issue Mar 11, 2014
* origin/master:
  Removing unnecessary and broken after_script
  Add new tests to travis
  Fix issue #34, put multiple inserts into each insert statement execution
  Revert back to 2.0.2 for now, see issue #32
  Attempt to fix sh error
  Clean up properly before running tests
  Forgot to add one file
  Refactor travis setup so that we can easily test it outside travis.
  Attempt to resolve mvn issues plauging travis
  Ignore Mac .DS_Store files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants