-
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
Remove flaky assertions in DF test #5184
Conversation
presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveDynamicPartitionPruning.java
Outdated
Show resolved
Hide resolved
9c350e1
to
378ddaa
Compare
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.
lgtm % modulo @Praveen2112 comment. Let's remove these lines with TODO that points to commit
presto-testing/src/main/java/io/prestosql/testing/AbstractTestQueryFramework.java
Outdated
Show resolved
Hide resolved
135b15d
to
66b2869
Compare
66b2869
to
a9a9008
Compare
presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveDynamicPartitionPruning.java
Show resolved
Hide resolved
a9a9008
to
5a9fe02
Compare
assertEquals(probeStats.getInputPositions(), 0L); | ||
assertEquals(probeStats.getDynamicFilterSplitsProcessed(), 0L); | ||
// TODO bring back OperatorStats assertions from https://github.com/prestosql/presto/commit/1feaa0f928a02f577c8ac9ef6cc0c8ec2008a46d | ||
// after https://github.com/prestosql/presto/issues/5120 is fixed |
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.
@raunaqmorarka would you like to re-enable this?
(or at least re-link to #5172?)
#5120 is closed. #5172 isn't solved, but we have developed ways to deal with that in tests
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.
I am indeed planning on bringing this back using the assertQueryStats thing we added recently. But I wanted to wait for the in-progress iceberg DF PR to merge which has changes in these files.
Fixes: #5120