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/20 10:29:12 UTC

[lucene-solr] branch branch_8x updated: SOLR-15687: UpdateLogCloudTest.implTest numVersions 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 4df980e  SOLR-15687: UpdateLogCloudTest.implTest numVersions assert to log updates on failure
4df980e is described below

commit 4df980e217f42019ee62eeb1751bc9f39ca6f534
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Wed Oct 20 11:20:51 2021 +0100

    SOLR-15687: UpdateLogCloudTest.implTest numVersions assert to log updates on failure
    
    (cherry picked from commit 320142f2047e8dc0afb22607f3ca4ff122ec11ea)
---
 .../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 278f6b3..85544cb 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
@@ -105,7 +105,7 @@ public class UpdateLogCloudTest extends SolrCloudTestCase {
     final QueryRequest reqV = new QueryRequest(params("qt","/get", "getVersions","12345"));
     final NamedList<?> rspV = solrClient.request(reqV, COLLECTION);
     final List<Long> versions = (List<Long>)rspV.get("versions");
-    assertEquals(numExpected, versions.size());
+    assertEquals(versions.toString(), numExpected, versions.size());
     if (numExpected == 0) {
       return;
     }