You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2021/10/19 14:29:01 UTC

[lucene-solr] branch branch_8x updated: SOLR-15687: UpdateLogCloudTest.implTest numUpdates assert to log updates on failure

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

cpoerschke pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 6bdec13  SOLR-15687: UpdateLogCloudTest.implTest numUpdates assert to log updates on failure
6bdec13 is described below

commit 6bdec1385d7925388ab1692e6420a9996508428b
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Oct 19 15:17:08 2021 +0100

    SOLR-15687: UpdateLogCloudTest.implTest numUpdates assert to log updates on failure
    
    (cherry picked from commit 26cee545d1244e8b1adf38a8a8f6432f10573be3)
---
 .../src/test/org/apache/solr/handler/component/UpdateLogCloudTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/handler/component/UpdateLogCloudTest.java b/solr/core/src/test/org/apache/solr/handler/component/UpdateLogCloudTest.java
index 9868657..278f6b3 100644
--- a/solr/core/src/test/org/apache/solr/handler/component/UpdateLogCloudTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/component/UpdateLogCloudTest.java
@@ -122,7 +122,7 @@ public class UpdateLogCloudTest extends SolrCloudTestCase {
       final QueryRequest reqU = new QueryRequest(params("qt","/get", "getUpdates", minVersion + "..."+maxVersion, "skipDbq", Boolean.toString(skipDbq)));
       final NamedList<?> rspU = solrClient.request(reqU, COLLECTION);
       final List<?> updatesList = (List<?>)rspU.get("updates");
-      assertEquals(numExpected + (skipDbq ? 1 : 0), updatesList.size());
+      assertEquals(updatesList.toString(), numExpected + (skipDbq ? 1 : 0), updatesList.size());
     }
 
   }