Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1467,22 +1467,21 @@ public void testExternSelectWithMultipleWorkers() throws IOException
);
// adding result stage counter checks
if (isPageSizeLimited()) {
selectTester = selectTester.setExpectedCountersForStageWorkerChannel(
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

1, 0, "input0"
).setExpectedCountersForStageWorkerChannel(
CounterSnapshotMatcher
.with().rows(2, 0, 2).frames(1, 0, 1),
.with().rows(2, 0, 2),
1, 0, "output"
);
selectTester = selectTester.setExpectedCountersForStageWorkerChannel(
).setExpectedCountersForStageWorkerChannel(
CounterSnapshotMatcher
.with().rows(0, 2, 0, 4).frames(0, 1, 0, 1),
.with().rows(0, 2, 0, 4),
1, 1, "input0"
).setExpectedCountersForStageWorkerChannel(
CounterSnapshotMatcher
.with().rows(0, 2, 0, 4).frames(0, 1, 0, 1),
.with().rows(0, 2, 0, 4),
1, 1, "output"
);
}
Expand Down