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

Rework Oracle tests to use BaseConnectorTest #7104

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

hashhar
Copy link
Member

@hashhar hashhar commented Mar 2, 2021

Refactor Oracle tests to use the single connector base test class added in #6989

@cla-bot cla-bot bot added the cla-signed label Mar 2, 2021
@hashhar hashhar requested review from losipiuk and findepi March 2, 2021 09:16
@findepi findepi removed their request for review March 2, 2021 10:21
@@ -42,18 +46,18 @@ protected QueryRunner createQueryRunner()
.put("connection-user", TEST_USER)
.put("connection-password", TEST_PASS)
.put("allow-drop-table", "true")
.put("oracle.connection-pool.enabled", "false")
.put("oracle.connection-pool.enabled", "true")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Git's rename detection is awesome :)


public class TestOraclePoolIntegrationSmokeTest
extends BaseOracleIntegrationSmokeTest
public class TestRemarksReportingOraclePoolConnectorTest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly we want to have a real "smoke" base class for this one.
Maybe add //TODO with an issue. Not sure how we want to proceed with that. So we don't get where we started. And have two arbitrary split test classes. cc: @findepi

@losipiuk losipiuk merged commit b66bdb2 into trinodb:master Mar 2, 2021
@hashhar hashhar deleted the hashhar/oracle-tests branch March 2, 2021 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants