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 14:40:11 UTC

(solr) 01/01: SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures

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

jsweeney pushed a commit to branch SOLR-17184-peer-sync-test-random-failure
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 5a783aceb9096474cbe57f659f9537e3b1676c9d
Author: Justin Sweeney <ju...@fullstory.com>
AuthorDate: Wed Feb 28 09:39:59 2024 -0500

    SOLR-17184: Fixing sorting order of documents for comparison in PeerSyncTest to avoid random failures
---
 solr/core/src/test/org/apache/solr/update/PeerSyncTest.java | 2 +-
 1 file changed, 1 insertion(+), 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..25d6beab086 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,7 @@ 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);
   }