Skip to content

Commit

Permalink
Merge pull request #83911 from aayushshah15/fixMergeQueueByDecommissi…
Browse files Browse the repository at this point in the history
…onPR
  • Loading branch information
aayushshah15 authored Jul 6, 2022
2 parents 2ca7454 + 19cf9f6 commit 80ad486
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/kv/kvserver/replicate_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,8 @@ func TestReplicateQueueDecommissionPurgatoryError(t *testing.T) {
store := tc.GetFirstStoreFromServer(t, 0)
repl, err := store.GetReplica(tc.LookupRangeOrFatal(t, scratchKey).RangeID)
require.NoError(t, err)
_, processErr, enqueueErr := tc.GetFirstStoreFromServer(t, 0).ManuallyEnqueue(
ctx, "replicate", repl, true, /* skipShouldQueue */
)
_, processErr, enqueueErr := tc.GetFirstStoreFromServer(t, 0).Enqueue(
ctx, "replicate", repl, true /* skipShouldQueue */, false /* async */)
require.NoError(t, enqueueErr)
_, isPurgErr := kvserver.IsPurgatoryError(processErr)
if !isPurgErr {
Expand Down

0 comments on commit 80ad486

Please sign in to comment.