ascherbakoff commented on code in PR #4700:
URL: https://github.com/apache/ignite-3/pull/4700#discussion_r1848348138


##########
modules/core/src/test/java/org/apache/ignite/internal/util/PendingComparableValuesTrackerTest.java:
##########
@@ -256,7 +257,8 @@ void testClose(PendingComparableValuesTracker trackerParam) 
{
 
         CompletableFuture<Void> future0 = tracker.waitFor(2);
 
-        tracker.close();
+        // Close is called from dedicated stop worker.
+        IgniteTestUtils.runAsync(tracker::close).join();

Review Comment:
   Because now tracker's "close" uses striped read-write locks, and read lock 
can be taken under write lock, so test fails.
   This is not an issue in a real cluster because a dedicated thread stop the 
node.



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