[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.
|
||||
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()));
|
||||
|
||||
Set<AllocationId> newInitializing = new HashSet<>(initializing);
|
||||
|
|
Loading…
Reference in New Issue