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

Fix TestTrinoGlueCatalog.testListTables #20325

Merged

Conversation

findepi
Copy link
Member

@findepi findepi commented Jan 10, 2024

Make it use unique namespace names and add cleanup.

Fixes #20324

@findepi findepi requested review from wendigo, ebyhr and hashhar January 10, 2024 12:17
@cla-bot cla-bot bot added the cla-signed label Jan 10, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Jan 10, 2024
@findepi findepi added no-release-notes This pull request does not require release notes entry test labels Jan 10, 2024
@findepi findepi force-pushed the findepi/fix-testtrinogluecatalog-testlisttables-284ca5 branch from 9a18ddb to c37ca76 Compare January 10, 2024 20:01
@github-actions github-actions bot added tests:hive hive Hive connector labels Jan 10, 2024
@findepi findepi force-pushed the findepi/fix-testtrinogluecatalog-testlisttables-284ca5 branch from c37ca76 to 820be74 Compare January 11, 2024 09:09
// Namespace is provided and does not exist
assertThat(catalog.listTables(SESSION, Optional.of("non_existing"))).isEmpty();

try (AutoCloseableCloser closer = AutoCloseableCloser.create()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

better than finally :)

@wendigo wendigo merged commit 3665fe6 into master Jan 11, 2024
56 checks passed
@wendigo wendigo deleted the findepi/fix-testtrinogluecatalog-testlisttables-284ca5 branch January 11, 2024 11:45
@github-actions github-actions bot added this to the 436 milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector iceberg Iceberg connector no-release-notes This pull request does not require release notes entry test
Development

Successfully merging this pull request may close these issues.

Failing test TestTrinoGlueCatalog.testListTables: Schema already exists
2 participants