[Tests] Correct map lookup in ReplicationTrackerTests (#34565)

This commit is contained in:
Christoph Büscher 2018-10-18 11:23:53 +02:00 committed by GitHub
parent df3726dc9b
commit 7bcf496315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);