-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Conversation
@BeforeTestWithContext | ||
public void setUp() | ||
{ | ||
onPresto().executeQuery("CREATE SCHEMA iceberg.iceberg"); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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 @@ | |||
*/ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Thanks! |
Relates to #4864