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 retries for TestIcebergCreateTable #5971

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

findepi
Copy link
Member

@findepi findepi commented Nov 16, 2020

Relates to #4864

@BeforeTestWithContext
public void setUp()
{
onPresto().executeQuery("CREATE SCHEMA iceberg.iceberg");
Copy link
Member

Choose a reason for hiding this comment

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

CREATE SCHEMA IF NOT EXISTS

Copy link
Member Author

Choose a reason for hiding this comment

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

pre-existing and i'd want to consider this out of scope for this PR. can i?

Copy link
Member Author

Choose a reason for hiding this comment

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

discussed offline

}

@AfterTestWithContext
public void cleanUp()
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove it. One might hit some issues when running tests in parallel some day...

Copy link
Member Author

Choose a reason for hiding this comment

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

pre-existing and i'd want to consider this out of scope for this PR. can i?

@@ -13,6 +13,8 @@
*/
Copy link
Member

Choose a reason for hiding this comment

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

nit: I would change commit title to Make TestIcebergCreateTable retriable

Copy link
Member Author

Choose a reason for hiding this comment

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

The only reason im doing this is because i added @Flaky and it didn't work. So my point is -- fix the retries.
if there was no @Flaky, i wouldn't do the change.

@kokosing
Copy link
Member

Thanks!

@findepi findepi merged commit 129a3ff into trinodb:master Nov 17, 2020
@findepi findepi deleted the findepi/fix-retry-iceberg branch November 17, 2020 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants