-
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
Introduce BaseConnectorTest, merging AbstractTestDistributedQueries and AbstractTestIntegrationSmokeTest #6989
Conversation
This is a preparatory step to run full `BaseConnectorTest` in this configuration as well.
This is so that connectors do not need to test both with caching enabled and disabled. It is a preparatory step to merge `AbstractTestDistributedQueries`- and `AbstractTestIntegrationSmokeTest`-based test class hierarchies into one.
The test is added back as it was, with only the class being deprecated and javadoc changed accordingly.
Extend `BaseConnectorTest` from `AbstractTestDistributedQueries` (removing duplicated test methods) and run it against base-jdbc with H2.
900eca5
to
7cef5ca
Compare
…SmokeTest Merge `TestPostgreSqlDistributedQueries` into `TestPostgreSqlIntegrationSmokeTest` utilizing `BaseConnectorTest` base class.
Merge `TestRedisDistributed` into `TestRedisIntegrationSmokeTest` utilizing `BaseConnectorTest` base class.
7cef5ca
to
0feb871
Compare
I used to have a test that was verifying that all tests from deprecated smoke tests class are added to |
Good point and I am aware. |
Ok. |
@@ -20,9 +20,11 @@ | |||
import io.trino.sql.planner.plan.FilterNode; | |||
import io.trino.sql.planner.plan.MarkDistinctNode; | |||
import io.trino.sql.planner.plan.ProjectNode; | |||
import io.trino.testing.AbstractTestIntegrationSmokeTest; | |||
import io.trino.testing.BaseConnectorTest; |
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.
nit: commit summary to long in Merge TestPostgreSql...
Remake of the idea presented in #5871.
Idea is @kokosing 's and all bugs are mine own.
For #6997