-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
GH-2915 Oracledb tests are failing #2924
Conversation
- fixes oracledb failing tests
- Error: The query is empty
}) | ||
.then(function(data) { | ||
// Clean up lock for other tests | ||
return knex('knex_migrations_lock').update({ is_locked: 0 }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any ideas why this only remains locked for Oracle? I wonder if something with transactions is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kibertoad sometimes this is failing sometimes not, not very consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kibertoad if you look this line I believe we need a cleanup here
https://github.com/tgriesser/knex/blob/master/test/integration/migrate/index.js#L177-L195
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was also suspecting that oracle's transaction code has something done wrong. I tried to look into it some months ago, but wasn't able to reproduce nor fix it.
It would be important to still add comment about how to make testbench to fail again to be able to really fix the underlying problem in oracle. And to add bug report issue to github pointing to disabled test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Could you please check if this is what you've had in mind or if we are still missing something?
@elhigu Two runs still failed with |
@kamote Looks like we can move node 11 and node 10 from "allow_failures:" to main set in travis.yaml |
For that there is pretty much nothing we can do, except start using different docker setup for oracle. |
So the solution would be to just keep merging PRs when we see Travis build only failing for this reason? Shall I already create a PR to make Oracle tests mandatory already? |
@elhigu @kamote |
@kibertoad @elhigu I also got this errors randomly on local... 1/5 during the consecutive test
|
@kamote Thanks! |
@kamote if that keeps on failing lets see what to do about it. |
* knexGH-2915 Oracledb tests are failing - fixes oracledb failing tests * Fixes oracledb increment() and decrement() empty query - Error: The query is empty * Add ToDo for fixing Oracle bug
Fixes for GH-2915