xtern commented on code in PR #7667:
URL: https://github.com/apache/ignite-3/pull/7667#discussion_r2853351386
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/exec/SqlOutdatedPlanTest.java:
##########
@@ -134,13 +143,15 @@ void planningIsRepeatedUsingTheSameTransaction(TxType
type) {
semaphore2.release();
- await(await(fut).closeAsync());
+ AsyncSqlCursor<InternalSqlRow> cursor = await(fut);
// Planning must be repeated, but only once.
assertThat(prepareServiceSpy.callsCounter.get(), is(2));
// Transaction should be started only once.
assertThat(txContext.startedTxCounter.get(), is(1));
+
+ drainAndCloseCursor(cursor);
}
Review Comment:
Not a problem in case of test failure
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]