Skip to content

Add validation for missing Test annotations#19358

Merged
martint merged 1 commit intotrinodb:masterfrom
martint:junit-checks
Oct 12, 2023
Merged

Add validation for missing Test annotations#19358
martint merged 1 commit intotrinodb:masterfrom
martint:junit-checks

Conversation

@martint
Copy link
Copy Markdown
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
@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

<dependency>
<groupId>io.airlift</groupId>
<artifactId>junit-extensions</artifactId>
Copy link
Copy Markdown
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
Copy Markdown
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