sanpwc commented on code in PR #1217:
URL: https://github.com/apache/ignite-3/pull/1217#discussion_r998066668
##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/api/ItSqlAsynchronousApiTest.java:
##########
@@ -330,7 +329,7 @@ public void checkTransactionsWithDml() throws Exception {
var states = (Map<UUID, TxState>)
IgniteTestUtils.getFieldValue(txManagerInternal, TxManagerImpl.class, "states");
- states.forEach((k, v) -> assertNotSame(v, TxState.PENDING));
+ assertEquals(txManagerInternal.finished(), states.size());
Review Comment:
Here and below. Let's also check that states.size() has proper value.
--
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]