You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/01/24 08:21:02 UTC

[GitHub] [ignite-3] AMashenkov commented on a change in pull request #561: IGNITE-16311 Removed redundant mentions of closed tasks in code.

AMashenkov commented on a change in pull request #561:
URL: https://github.com/apache/ignite-3/pull/561#discussion_r790500527



##########
File path: modules/table/src/integrationTest/java/org/apache/ignite/distributed/ItTablePersistenceTest.java
##########
@@ -97,10 +99,14 @@ public void beforeFollowerStop(RaftGroupService service) throws Exception {
 
         txManager.start();
 
+        Int2ObjectOpenHashMap<RaftGroupService> map = new Int2ObjectOpenHashMap<>();
+
+        map.put(0, service);
+
         var table = new InternalTableImpl(
                 "table",
                 new IgniteUuid(UUID.randomUUID(), 0),
-                Map.of(0, service),
+                map,

Review comment:
       Why don't just a singletone here?




-- 
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-unsubscribe@ignite.apache.org

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