You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by cp...@apache.org on 2021/10/20 10:28:01 UTC
[solr] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 320142f SOLR-15687: UpdateLogCloudTest.implTest numVersions assert to log updates on failure
320142f is described below
commit 320142f2047e8dc0afb22607f3ca4ff122ec11ea
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
---
.../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;
}