This is an automated email from the ASF dual-hosted git repository.
dsmiley 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 064d7ef8d7a test fix: SchemaTest.testMultipleUpdateRequestAccuracy:
verify second field (#5345)
064d7ef8d7a is described below
commit 064d7ef8d7a7a4f4e7998aea14b3a6db49f865d1
Author: Ivan Šarić <[email protected]>
AuthorDate: Mon Nov 16 16:12:16 2026 +0100
test fix: SchemaTest.testMultipleUpdateRequestAccuracy: verify second field
(#5345)
Co-authored-by: Claude Fable 5.1 <[email protected]>
---
.../src/test/org/apache/solr/client/solrj/request/SchemaTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/solr/solrj/src/test/org/apache/solr/client/solrj/request/SchemaTest.java
b/solr/solrj/src/test/org/apache/solr/client/solrj/request/SchemaTest.java
index 6d5cb25ad48..cf50479bd43 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/request/SchemaTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/request/SchemaTest.java
@@ -926,11 +926,11 @@ public class SchemaTest extends RestTestBase {
assertThat(true, is(equalTo(field1Attributes.get("stored"))));
assertThat(true, is(equalTo(field1Attributes.get("indexed"))));
- SchemaRequest.Field field2SchemaRequest = new
SchemaRequest.Field(field1Name);
+ SchemaRequest.Field field2SchemaRequest = new
SchemaRequest.Field(field2Name);
SchemaResponse.FieldResponse field2Response =
field2SchemaRequest.process(getSolrClient());
assertValidSchemaResponse(field2Response);
Map<String, ?> field2Attributes = field2Response.getField();
- assertThat(field1Name, is(equalTo(field2Attributes.get("name"))));
+ assertThat(field2Name, is(equalTo(field2Attributes.get("name"))));
assertThat(fieldTypeName, is(equalTo(field2Attributes.get("type"))));
assertThat(true, is(equalTo(field2Attributes.get("stored"))));
assertThat(true, is(equalTo(field2Attributes.get("indexed"))));