sergeyuttsel commented on code in PR #2059:
URL: https://github.com/apache/ignite-3/pull/2059#discussion_r1192048005


##########
modules/distribution-zones/src/test/java/org/apache/ignite/internal/distributionzones/DistributionZoneAwaitDataNodesTest.java:
##########
@@ -367,20 +377,30 @@ void testRemoveZoneWhileAwaitingDataNodes() throws 
Exception {
 
         CompletableFuture<Set<String>> dataNodesFut1 = 
distributionZoneManager.topologyVersionedDataNodes(zoneId, 106);
 
+        doAnswer(invocation -> {

Review Comment:
   It's a different test cases, so I added another test. 
testRemoveZoneWhileAwaitingTopologyVersion checks that 
DistributionZoneNotFoundException will be thrown if the zone is removed on 
topology version awaiting.
   testScaleUpScaleDownAreChangedWhileAwaitingDataNodes checks that 
DistributionZoneWasRemovedException will be thrown if the zone is removed after 
topology version awaiting.



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

Reply via email to