Supersaiyan101 opened a new pull request, #40819:
URL: https://github.com/apache/beam/pull/40819

   Fixes #18690.
   
   
   
   ### Description
   This pull request ports `SolrIOTest` in `sdks/java/io/solr` off the 
deprecated `DoFnTester` test harness in favor of standard `TestPipeline` 
execution.
   
   
   
   - Removed deprecated import `org.apache.beam.sdk.transforms.DoFnTester`.
   - Migrated `testWriteWithMaxBatchSize()` to execute through `TestPipeline` 
with `Create.of(...)` and `write`, verifying document indexing into Solr.
   
   
   
   ### Checklist
   - [x] Small/focused contribution (ICLA not required).
   - [x] Description of change and motivation provided above.
   - [x] Linked issue (`Fixes #18690`).
   - [x] `CHANGES.md` update not required (internal test refactoring).
   
   
   
   ### Verification
   - Tested locally: `.\gradlew.bat :sdks:java:io:solr:test` (**12/12 passed**)
   - Code style check: `.\gradlew.bat :sdks:java:io:solr:spotlessCheck` 
(**PASSED**)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to