vadimkolodingg commented on code in PR #6192: URL: https://github.com/apache/ignite-3/pull/6192#discussion_r2192878492
########## modules/runner/src/integrationTest/java/org/apache/ignite/internal/table/ItReplicasTest.java: ########## @@ -101,7 +139,65 @@ void testLearnerReplicaCreatedAfterStartingNewNode() { }); } - private static Set<Assignment> getStableAssignments(Ignite node, String tableName) { + @Test + void testLearnerReplicaReadOnlyRequestCanReadData() { Review Comment: done ########## modules/runner/src/integrationTest/java/org/apache/ignite/internal/table/ItReplicasTest.java: ########## @@ -101,7 +139,65 @@ void testLearnerReplicaCreatedAfterStartingNewNode() { }); } - private static Set<Assignment> getStableAssignments(Ignite node, String tableName) { + @Test + void testLearnerReplicaReadOnlyRequestCanReadData() { + executeSql("CREATE ZONE TEST_ZONE (PARTITIONS 1, REPLICAS ALL, QUORUM SIZE 2) STORAGE PROFILES ['default']"); + executeSql("CREATE TABLE TEST (id INT PRIMARY KEY, name INT) ZONE TEST_ZONE"); + executeSql("INSERT INTO TEST VALUES (0, 0)"); + + cluster.startNode((int) cluster.runningNodes().count()); // starting a new node adds a learner Review Comment: done -- 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