-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update oracle test container version to 18.4.0-full #17009
Conversation
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.
Could you run stress tests? Those scripts were introduced to avoid flaky tests.
Thank you! I do not have full context about this scripts, so wondering the reason add the init.sql, it would be appreciated if can share some issues relate to this. |
I don't remember the exact number. You can check by removing those scripts without the image bump and run stress tests. I guess it requires at least 30 invocations. |
Only update oracle container version at current |
There're many TODO comments about this issue. We shouldn't close it in this PR without fixing them. |
testing/trino-testing/src/main/java/io/trino/testing/BaseConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
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.
If we want we should add new test with newer version since 11.2 is still the oldest supported version by Oracle and we want to make sure that we can find and fix bugs against it.
So I don't think this PR would allow to remove the TODOs anyway since 11.2 still needs to be tested. Sometime after 11.2 is out of support (Dec 2023) we can revisit this PR. For now I think we shouldn't merge this.
@hashhar Make sense. How about:
|
Do you mean renaming tables in |
Yes.
We could only override the naming not all the test |
That's possible, but overriding the naming only for the purpose doesn't make sense. It reduces readability and it doesn't bring any benefit. I would recommend closing this PR now. |
Can. I meet this when want to open the merge feature for the Oracle, there are exist tests cases can not fit Oracle naming constraints, for these cases we shouldn't shorter existing name I think, what do you think? |
Why? Renaming the table names in test shouldn't reduce the readability so much. We can improve variable names or add code comments instead of using longer table names. |
It's reducing the readability for the existing test, and the adjust only for the Oracle. |
@hashhar Would it make sense to revisit this as 11 is out of support now. Trino is thus running tests on an unsupported version of Oracle. It would be a nice side-effect if merging in a newer version of the test container would result in supporting the latest JDBC driver version |
@mahic Thanks for revisiting this. Yes, I think this makes sense to revive now. Do you already plan on sending a PR? |
Description
Fix #5901
Additional context and related issues
Release notes
(x) This is not user-visible or docs only and no release notes are required.