diff --git a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/SimpleCopyJob.java b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/SimpleCopyJob.java index ba72ae4b858..7e148810b47 100644 --- a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/SimpleCopyJob.java +++ b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/SimpleCopyJob.java @@ -118,6 +118,8 @@ class SimpleCopyJob extends CopyJob { return highPriority ? -1 : 1; } else if (ord < other.ord) { return -1; + } else if (ord > other.ord) { + return 1; } else { return 0; }