timoninmaxim commented on code in PR #11713:
URL: https://github.com/apache/ignite/pull/11713#discussion_r1895614269


##########
modules/core/src/test/java/org/apache/ignite/internal/client/thin/ThinClientNonTransactionalOperationsInTxTest.java:
##########
@@ -90,9 +93,58 @@ private void checkThinClientCacheOperation(IgniteClient 
client, Consumer<ClientC
             }
 
             return null;
-        }, CacheException.class, 
NON_TRANSACTIONAL_CLIENT_CACHE_CLEAR_IN_TX_ERROR_MESSAGE);
+        }, CacheException.class, 
String.format(NON_TRANSACTIONAL_CLIENT_CACHE_IN_TX_ERROR_MESSAGE, 
checkClearAsync(async)));
 
         assertTrue(cache.containsKey(1));
         assertFalse(cache.containsKey(2));
     }
+
+    /** */
+    private String checkClearAsync(boolean async) {
+        return async ? "clearAsync" : "clear";

Review Comment:
   Let's inline this method



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to