chesnokoff commented on code in PR #12216:
URL: https://github.com/apache/ignite/pull/12216#discussion_r2290440354


##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/clients/JavaThinCompatibilityTest.java:
##########
@@ -402,7 +403,7 @@ private void testContinuousQueries() throws Exception {
         try (IgniteClient client = Ignition.startClient(new 
ClientConfiguration().setAddresses(ADDR))) {
             ClientCache<Object, Object> cache = 
client.getOrCreateCache("testContinuousQueries");
 
-            List<CacheEntryEvent<?, ?>> allEvts = new ArrayList<>();

Review Comment:
   
[TCPClientChannel#processNextMessage](https://github.com/apache/ignite/blob/0b5b218254dd49695e83ea1baa1319ffabc6ffa0/modules/core/src/main/java/org/apache/ignite/internal/client/thin/TcpClientChannel.java#L614)
 asynchronously calls `ClientCacheEntryListenerHandler#acceptNotification` so 
we modify non-thread-safe `allEvts` list from several threads and that's why 
`allEvts.size() == 3, 10_000L)` fails



-- 
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