mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 14:35:04 +00:00
[Tests] Correct map lookup in ReplicationTrackerTests (#34565)
This commit is contained in:
parent
df3726dc9b
commit
7bcf496315
@ -161,7 +161,7 @@ public class ReplicationTrackerTests extends ESTestCase {
|
|||||||
|
|
||||||
// first check that adding it without the master blessing doesn't change anything.
|
// first check that adding it without the master blessing doesn't change anything.
|
||||||
updateLocalCheckpoint(tracker, extraId.getId(), minLocalCheckpointAfterUpdates + 1 + randomInt(4));
|
updateLocalCheckpoint(tracker, extraId.getId(), minLocalCheckpointAfterUpdates + 1 + randomInt(4));
|
||||||
assertNull(tracker.checkpoints.get(extraId));
|
assertNull(tracker.checkpoints.get(extraId.getId()));
|
||||||
expectThrows(IllegalStateException.class, () -> tracker.initiateTracking(extraId.getId()));
|
expectThrows(IllegalStateException.class, () -> tracker.initiateTracking(extraId.getId()));
|
||||||
|
|
||||||
Set<AllocationId> newInitializing = new HashSet<>(initializing);
|
Set<AllocationId> newInitializing = new HashSet<>(initializing);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user