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 @@ -201,7 +201,7 @@ public void shutDown() {

// Timeout guards against deadlock: if rewriteReduceStageForEmptyLeaves fails to inline
// all MailboxReceiveNodes, the reducer will block forever polling a mailbox with no sender.
@Test(timeOut = 2_000)
@Test(timeOut = 10_000)
public void testAllLeafStagesEmptyReducerDoesNotWaitForChildStageMailbox() {
DispatchableSubPlan subPlan = _queryEnvironment.planQuery("SELECT COUNT(*) FROM a WHERE ts < 0 LIMIT 1");
Map<Integer, DispatchablePlanFragment> fragmentMap = new HashMap<>(subPlan.getQueryStageMap());
Expand All @@ -216,7 +216,7 @@ public void testAllLeafStagesEmptyReducerDoesNotWaitForChildStageMailbox() {
assertEquals(rows.get(0)[0], 0L);
}

@Test(timeOut = 2_000)
@Test(timeOut = 10_000)
public void testAllLeafStagesEmptyReducerRunsPushedDownAggregates() {
DispatchableSubPlan subPlan = _queryEnvironment.planQuery(
"SELECT COUNT(*), DISTINCTCOUNT(col1), DISTINCTCOUNT(col2), SUM(col3) FROM a WHERE ts < 0 LIMIT 1");
Expand All @@ -235,7 +235,7 @@ public void testAllLeafStagesEmptyReducerRunsPushedDownAggregates() {
assertNull(rows.get(0)[3]);
}

@Test(timeOut = 2_000)
@Test(timeOut = 10_000)
public void testAllLeafStagesEmptyReducerWithJoin() {
DispatchableSubPlan subPlan =
_queryEnvironment.planQuery("SELECT COUNT(*) FROM a JOIN b ON a.col1 = b.col1 WHERE a.ts < 0");
Expand Down
Loading