SammyVimes commented on code in PR #1869:
URL: https://github.com/apache/ignite-3/pull/1869#discussion_r1160763781
##########
modules/distribution-zones/src/test/java/org/apache/ignite/internal/distributionzones/DistributionZoneManagerLogicalTopologyEventsTest.java:
##########
@@ -151,15 +155,22 @@ private DistributionZoneManager
prepareDistributionZoneManager() {
keyValueStorage = spy(new SimpleInMemoryKeyValueStorage("test"));
- MetaStorageListener metaStorageListener = new
MetaStorageListener(keyValueStorage);
+ MetaStorageListener metaStorageListener = new
MetaStorageListener(keyValueStorage, mock(ClusterTimeImpl.class));
RaftGroupService metaStorageService = mock(RaftGroupService.class);
+ HybridTimestampMessage mockTsMessage =
mock(HybridTimestampMessage.class);
+ when(mockTsMessage.asHybridTimestamp()).thenReturn(new
HybridTimestamp(10, 10));
+
// Delegate directly to listener.
lenient().doAnswer(
invocationClose -> {
Review Comment:
It is copy-pasted, yes
--
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]