Repository navigation
fix: resolve various db2 issues - #14453
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
946687f to
4c9c546
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
I've changed how deleting I've also re-added forced table reorg inside queryInterface, instead of tests (note that before it was in Only finger crossing left to be done |
|
@ephys can you check out the failed tests? I think they are due to this PR |
|
Hmm that's annoying.
|
…sequelize into ephys/db2-debug-please-ignore
|
🎉 This PR is included in version 7.0.0-alpha.14 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR (hopefully) fixes the underlying issue that caused DB2 tests to be flaky:
Db2Querywas silencing errors emitted by DB2 in an attempt to fix them automatically.This PR removes that. It appears the flakiness is gone, and this PR fixes the issues that were hidden by that behavior.
List of fixed issues:
Db2Querymuted errors. This has been removed.createTableusedCREATE TABLEinstead ofCREATE TABLE IF NOT EXISTS(like the other dialects did)dropTableusedDROP TABLEinstead ofDROP TABLE IF EXISTS(like the other dialects did)The rest of the changes are adapting the tests to make them work properly with db2.
There is one change we may want to preserve:
This
REORG TABLEoperation was done inDb2Query. Do we want to preserve it?REORG TABLEERRORSCHEMA.ERRORTABLECREATE TABLESPACE SYSTOOLSPACEif the tablespace does not exist