From 38c64b8624e839a266c7dab2b1425f3cd82bd285 Mon Sep 17 00:00:00 2001 From: Ashwin Giridharan Date: Tue, 11 Feb 2020 13:05:26 -0800 Subject: [PATCH] Fixing doc comment shard structure format for HierarchicalShardSyncerTest --- .../leases/HierarchicalShardSyncerTest.java | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/HierarchicalShardSyncerTest.java b/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/HierarchicalShardSyncerTest.java index 23d2e423..4dc3fdd3 100644 --- a/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/HierarchicalShardSyncerTest.java +++ b/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/HierarchicalShardSyncerTest.java @@ -844,11 +844,11 @@ public class HierarchicalShardSyncerTest { // /** // * Test CheckIfDescendantAndAddNewLeasesForAncestors (initial position Latest) // * Shard structure (each level depicts a stream segment): -// * 0 1 2 3 4 5- shards till epoch 102 -// * \ / \ / | | -// * 6 7 4 5- shards from epoch 103 - 205 -// * \ / | /\ -// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) +// * 0 1 2 3 4 5- shards till epoch 102 +// * \ / \ / | | +// * 6 7 4 5- shards from epoch 103 - 205 +// * \ / | /\ +// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) // * Current leases: (3, 4, 5) // */ @Test @@ -879,11 +879,11 @@ public class HierarchicalShardSyncerTest { // /** // * Test CheckIfDescendantAndAddNewLeasesForAncestors (initial position Latest) // * Shard structure (each level depicts a stream segment): -// * 0 1 2 3 4 5- shards till epoch 102 -// * \ / \ / | | -// * 6 7 4 5- shards from epoch 103 - 205 -// * \ / | /\ -// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) +// * 0 1 2 3 4 5- shards till epoch 102 +// * \ / \ / | | +// * 6 7 4 5- shards from epoch 103 - 205 +// * \ / | /\ +// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) // * Current leases: (4, 5, 7) // */ @Test @@ -912,11 +912,11 @@ public class HierarchicalShardSyncerTest { // /** // * Test CheckIfDescendantAndAddNewLeasesForAncestors (initial position TrimHorizon) // * Shard structure (each level depicts a stream segment): -// * 0 1 2 3 4 5- shards till epoch 102 -// * \ / \ / | | -// * 6 7 4 5- shards from epoch 103 - 205 -// * \ / | /\ -// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) +// * 0 1 2 3 4 5- shards till epoch 102 +// * \ / \ / | | +// * 6 7 4 5- shards from epoch 103 - 205 +// * \ / | /\ +// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) // * Current leases: (3, 4, 5) // */ @Test @@ -947,11 +947,11 @@ public class HierarchicalShardSyncerTest { // /** // * Test CheckIfDescendantAndAddNewLeasesForAncestors (initial position TrimHorizon) // * Shard structure (each level depicts a stream segment): -// * 0 1 2 3 4 5- shards till epoch 102 -// * \ / \ / | | -// * 6 7 4 5- shards from epoch 103 - 205 -// * \ / | /\ -// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) +// * 0 1 2 3 4 5- shards till epoch 102 +// * \ / \ / | | +// * 6 7 4 5- shards from epoch 103 - 205 +// * \ / | /\ +// * 8 4 9 10 - shards from epoch 206 (open - no ending sequenceNumber) // * Current leases: (4, 5, 7) // */ @Test @@ -1148,11 +1148,11 @@ public class HierarchicalShardSyncerTest { // /* // * Helper method to construct a shard list for graph B. Graph B is defined below. // * Shard structure (x-axis is epochs): -// * 0 3 6 9 +// * 0 3 6 9 // * \ / \ / \ / -// * 2 5 8 +// * 2 5 8 // * / \ / \ / \ -// * 1 4 7 10 +// * 1 4 7 10 // */ private List constructShardListForGraphB() { final SequenceNumberRange range0 = ShardObjectHelper.newSequenceNumberRange("1000", "1049");