Jackie-Jiang opened a new pull request, #20364:
URL: https://github.com/apache/pinot/pull/20364

   Fix two test races observed in #20355:
   
   - `SegmentGenerationAndPushTaskGeneratorTest` and 
`SegmentGenerationAndPushTaskExecutorTest` shared the classpath resource 
directory as their working directory. Parallel forks could collide on 
`input/dummyTable.json.tmp` and fail its rename. Give each executor invocation 
a unique temporary directory and clean it up in `finally`.
   - `RefreshSegmentMinionTest.testMetadataPushRefresh` dereferenced missing 
query-result fields while refreshed segments were still becoming available. 
Make the polling predicate return false until the selected column's type is 
exactly `FLOAT`, preserving the existing timeout.
   
   Validation on JDK 25.0.5: all 13 targeted tests passed (7 unit tests and 6 
integration tests), with three parallel forks enabled. Both affected modules 
also passed Spotless, Checkstyle, license formatting, and license checks. 
Compilation included deprecation and warning flags.
   
   ```bash
   ./mvnw -B -ntp -Ppinot-fastdev -Ddevelocity.scan.disabled=true \
     -pl 
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks,pinot-integration-tests
 -am \
     
-Dtest=SegmentGenerationAndPushTaskGeneratorTest,SegmentGenerationAndPushTaskExecutorTest,RefreshSegmentMinionTest
 \
     -Dsurefire.failIfNoSpecifiedTests=false -Dunit.test.fork.count=3 \
     -Dmaven.compiler.showDeprecation=true -Dmaven.compiler.showWarnings=true 
test
   ```
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to