Skip to content

Fix flaky assertion in MSQ Unit test#15142

Merged
LakshSingla merged 1 commit intoapache:masterfrom
cryptoe:fixing_flaky_test
Oct 13, 2023
Merged

Fix flaky assertion in MSQ Unit test#15142
LakshSingla merged 1 commit intoapache:masterfrom
cryptoe:fixing_flaky_test

Conversation

@cryptoe
Copy link
Copy Markdown
Contributor

@cryptoe cryptoe commented Oct 12, 2023

Fixing the flaky test which was added as part of #14994

@github-actions github-actions Bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Oct 12, 2023
selectTester.setExpectedCountersForStageWorkerChannel(
CounterSnapshotMatcher
.with().rows(2, 0, 2).frames(1, 0, 1),
.with().rows(2, 0, 2),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's not remove the number of frames assertion for the UTs to pass, since that shouldn't be flaky.

If they produce different results with sql-compat and sql-incompat mode, we should have separate assertions based on the mode it is run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The issue is with how frameProccessors are getting scheduled and not the SQL compat mode.
Since all other PR's are failing, ie a dev blocker, lets merge it till I find a better way to solve it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sounds good

@LakshSingla LakshSingla added this to the 28.0 milestone Oct 13, 2023
@LakshSingla LakshSingla merged commit f0a70fe into apache:master Oct 13, 2023
@LakshSingla LakshSingla changed the title Fixing the flaky UT. Fix flaky assertion in MSQ Unit test Oct 14, 2023
LakshSingla pushed a commit to LakshSingla/druid that referenced this pull request Oct 14, 2023
cryptoe added a commit that referenced this pull request Oct 14, 2023
Co-authored-by: Karan Kumar <karankumar1100@gmail.com>
ektravel pushed a commit to ektravel/druid that referenced this pull request Oct 16, 2023
CaseyPan pushed a commit to CaseyPan/druid that referenced this pull request Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 Development Blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants