diff --git a/pkg/kv/kvserver/replicate_queue_test.go b/pkg/kv/kvserver/replicate_queue_test.go index 4be39b9f5744..c184e70bd48a 100644 --- a/pkg/kv/kvserver/replicate_queue_test.go +++ b/pkg/kv/kvserver/replicate_queue_test.go @@ -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 {