Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmiley committed Mar 2, 2025
1 parent e99fdfe commit 7fc9277
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,14 @@ public void testBackCompat4_5() throws IOException {

InputStream is = getClass().getResourceAsStream("/solrj/updateReq_4_5.bin");
assertNotNull("updateReq_4_5.bin was not found", is);
List<SolrInputDocument> unmarshalledDocs = new ArrayList<>();
UpdateRequest updateUnmarshalled =
new JavaBinUpdateRequestCodec()
.unmarshal(
is,
(document, req, commitWithin, override) -> {
if (commitWithin == null) {
req.add(document);
unmarshalledDocs.add(document);
}
System.err.println(
"Doc"
Expand All @@ -263,6 +264,7 @@ public void testBackCompat4_5() throws IOException {
+ " , override:"
+ override);
});
updateUnmarshalled.add(unmarshalledDocs);

System.err.println(updateUnmarshalled.getDocumentsMap());
System.err.println(updateUnmarshalled.getDocuments());
Expand Down

0 comments on commit 7fc9277

Please sign in to comment.