rpuch commented on code in PR #5776:
URL: https://github.com/apache/ignite-3/pull/5776#discussion_r2077804245


##########
modules/partition-replicator/src/test/java/org/apache/ignite/internal/partition/replicator/ZonePartitionReplicaListenerTest.java:
##########
@@ -78,8 +98,8 @@ class ZonePartitionReplicaListenerTest extends 
BaseIgniteAbstractTest {
     @Mock
     private ValidationSchemasSource validationSchemasSource;
 
-    @Mock
-    private SchemaSyncService schemaSyncService;
+    @Spy
+    private final SchemaSyncService schemaSyncService = new 
AlwaysSyncedSchemaSyncService();

Review Comment:
   `@Spy` does. It recreates the nesting object (test class object), if I'm not 
mistaken.



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