Skip to content

Fix resource leak in TestInformationSchemaMetadata#15133

Merged
findepi merged 2 commits intotrinodb:masterfrom
findepi:findepi/fix-resource-leak-in-testinformationschemametadata-5daa66
Nov 22, 2022
Merged

Fix resource leak in TestInformationSchemaMetadata#15133
findepi merged 2 commits intotrinodb:masterfrom
findepi:findepi/fix-resource-leak-in-testinformationschemametadata-5daa66

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Nov 21, 2022

Also, avoid allocating resources in test constructor. This is really bad
idea.

Every JMH benchmark class should have a `@Test` test method ensuring the
benchmark continues to work.
Also, avoid allocating resources in test constructor. This is really bad
idea.
@findepi findepi added test no-release-notes This pull request does not require release notes entry labels Nov 21, 2022
@cla-bot cla-bot Bot added the cla-signed label Nov 21, 2022
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Nov 22, 2022

CI #14445

@findepi findepi merged commit 9e3b45b into trinodb:master Nov 22, 2022
@findepi findepi deleted the findepi/fix-resource-leak-in-testinformationschemametadata-5daa66 branch November 22, 2022 11:17
@github-actions github-actions Bot added this to the 404 milestone Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry test

Development

Successfully merging this pull request may close these issues.

3 participants