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

Add validation for missing Test annotations #19358

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

martint
Copy link
Member

@martint martint commented Oct 11, 2023

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Oct 11, 2023
@github-actions github-actions bot added tests:hive hudi Hudi connector iceberg Iceberg connector delta-lake Delta Lake connector hive Hive connector bigquery BigQuery connector mongodb MongoDB connector labels Oct 11, 2023
@martint martint merged commit 78ab682 into trinodb:master Oct 12, 2023
89 checks passed
@martint martint deleted the junit-checks branch October 12, 2023 22:45
@github-actions github-actions bot added this to the 430 milestone Oct 12, 2023
@@ -42,6 +42,12 @@
<artifactId>antlr4-runtime</artifactId>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>junit-extensions</artifactId>
Copy link
Member

Choose a reason for hiding this comment

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

This is very brittle. It only works if a module depends on junit-extensions. To ensure it applies to everything, the extension should be registered via the surefire plugin configuration.

#18691 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

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

There’s a bug or limitation preventing that right now, but yes, that’s the way it should be.

The benefit of this being in a separate library is that it can be used in every module in Trino. The implementation in that other PR limited it to downstream modules due to potential circular deos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery BigQuery connector cla-signed delta-lake Delta Lake connector hive Hive connector hudi Hudi connector iceberg Iceberg connector mongodb MongoDB connector
Development

Successfully merging this pull request may close these issues.

3 participants