File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
mondrian/src/test/java/mondrian Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ void testCrossJoinIterCalc_IterationCancellationOnForward(Context<?> foodMartCon
146146 // Test execution to track cancellation/timeout calls
147147 ExecutionImpl execution =
148148 spy ( new ExecutionImpl ( genders .getQuery ().getStatement (), Optional .empty () ) );
149+ execution .asContext ().setExecution (execution );
149150 // check no execution of checkCancelOrTimeout has been yet
150151 verify ( execution , times ( 0 ) ).checkCancelOrTimeout ();
151152 Integer crossJoinIterCalc =
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ void testMutableCrossJoinCancellation(Context<?> context) throws OlapRuntimeExce
111111
112112 ExecutionImpl execution =
113113 spy (new ExecutionImpl (genders .getQuery ().getStatement (), Optional .empty ()));
114+ execution .asContext ().setExecution (execution );
114115 TupleList mutableCrossJoinResult =
115116 mutableCrossJoin (productMembers , genderMembers , execution );
116117
You can’t perform that action at this time.
0 commit comments