You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by js...@apache.org on 2024/02/28 18:58:17 UTC

(solr) branch branch_9x updated: SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures (#2317)

This is an automated email from the ASF dual-hosted git repository.

jsweeney pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 78cc5df1640 SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures (#2317)
78cc5df1640 is described below

commit 78cc5df1640d1f09cc165d69222875234cbf4bde
Author: Justin Sweeney <ju...@fullstory.com>
AuthorDate: Wed Feb 28 13:56:25 2024 -0500

    SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures (#2317)
    
    * SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures
    
    * Tidying code
---
 solr/core/src/test/org/apache/solr/update/PeerSyncTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java b/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
index 16d3c50aeb9..3931dfb6394 100644
--- a/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
+++ b/solr/core/src/test/org/apache/solr/update/PeerSyncTest.java
@@ -413,7 +413,9 @@ public class PeerSyncTest extends BaseDistributedSearchTestCase {
     QueryResponse qacResponse;
     qacResponse =
         queryAndCompare(
-            params("q", "*:*", "rows", "10000", "sort", "_version_ desc"), client0, client1);
+            params("q", "*:*", "rows", "10000", "sort", "_version_ desc,id desc"),
+            client0,
+            client1);
     validateQACResponse(docsAdded, qacResponse);
   }