Skip to content

Commit

Permalink
MINOR: Fix typo in ReplicaManagerTest (apache#12178)
Browse files Browse the repository at this point in the history
Reviewer: Luke Chen <[email protected]>
  • Loading branch information
bozhao12 authored May 19, 2022
1 parent 1802c6d commit b4f35c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3374,7 +3374,7 @@ class ReplicaManagerTest {
val replicaManager = setupReplicaManagerWithMockedPurgatories(new MockTimer(time), localId)

try {
// Make the local replica the follower
// Make the local replica the leader
val leaderTopicsDelta = topicsCreateDelta(localId, true)
val leaderMetadataImage = imageFromTopics(leaderTopicsDelta.apply())
replicaManager.applyDelta(leaderTopicsDelta, leaderMetadataImage)
Expand Down Expand Up @@ -3411,7 +3411,7 @@ class ReplicaManagerTest {
val replicaManager = setupReplicaManagerWithMockedPurgatories(new MockTimer(time), localId)

try {
// Make the local replica the follower
// Make the local replica the leader
val leaderTopicsDelta = topicsCreateDelta(localId, true)
val leaderMetadataImage = imageFromTopics(leaderTopicsDelta.apply())
replicaManager.applyDelta(leaderTopicsDelta, leaderMetadataImage)
Expand Down

0 comments on commit b4f35c9

Please sign in to comment.