Sergey Uttsel created IGNITE-18416:
--------------------------------------
Summary: Extend test coverage for DistributionZoneManager
Key: IGNITE-18416
URL: https://issues.apache.org/jira/browse/IGNITE-18416
Project: Ignite
Issue Type: Improvement
Reporter: Sergey Uttsel
Need to extend test coverage for DistributionZoneManager. So need to implement
test cases:
Test1:
# Start node1.
# Create zone1 with scaleUp = 10.
# Start node2. Zone timer is started at node1.
# Restart node1 before a timer expiration.
# Check that data nodes for zone1 is [node1, node2].
Test2:
# Start node1, node2 with "zone1: scaleUp = 10".
# Start node3 at the time 5. Zone timer is started at node1 and node2 which
will do metastorage.invoke at time 15.
# Stop node2 at time 10.
# At node2 at time 15 zone timer triggers metastorage.invoke. Data nodes are
changed to [node1, node2, node3].
# Start node4 at the moment 30. Zone timer is started and will do
metastorage.invoke at time 40.
# At time 40 timer triggers metastorage.invoke. Data nodes are changed to
[node1, node2, node3, node4].
# Start node2 at time 50. Node2 try to do metastorage.invoke with dataNodes
[node1, node2, node3].
# Check that this invoke is failed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)