rpuch commented on code in PR #7763:
URL: https://github.com/apache/ignite-3/pull/7763#discussion_r2923901585
##########
modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItMetaStorageServiceTest.java:
##########
@@ -395,7 +401,7 @@ public void testGetWithUpperBoundRevision() {
public void testGetAll() {
Node node = prepareNodes(1).get(0);
-
when(node.mockStorage.getAll(anyList())).thenReturn(EXPECTED_SRV_RESULT_COLL);
+
doReturn(EXPECTED_SRV_RESULT_COLL).when(node.mockStorage).getAll(anyList());
Review Comment:
It's simply easier this way. Using the real storage API would require even
more changes. Current approach doesn't seem to cause any problems; I think we
can live with it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]