FrankChen021 opened a new pull request, #20127:
URL: https://github.com/apache/druid/pull/20127

   ## Summary
   
   Reduce avoidable latency in high-cost test fixtures and setup paths while 
preserving test payloads, ordering, partitioning, transaction boundaries, 
retry/failure injection, and assertions.
   
   The optimized values are averages of passing local Surefire runs. 
Interrupted or resource-limited runs are excluded.
   
   ## Surefire duration comparison
   
   | Test | Original Surefire | Optimized average Surefire | Improvement |
   | --- | ---: | ---: | ---: |
   | `AutoCompactionTest` filtered supervisor tests | 245.171s | **13.863s** | 
**231.308s / 94.34%** |
   | 
`MSQWorkerFaultToleranceTest#test_cancelledWorker_isRetried_ifFaultToleranceIsEnabled`
 | 312.000s | **12.845s** | **299.155s / 95.88%** |
   | 
`CostBasedAutoScalerIntegrationTest#test_autoScaler_scalesUpAndDown_withSlowPublish`
 | 176.500s | **75.220s** | **101.280s / 57.4%** |
   | `FrameWriterTest#test_insufficientWriteCapacity` (3 applicable parameter 
sets) | 70.950s | **10.525s** | **60.425s / 85.2%** |
   | 
`RangePartitionMultiPhaseParallelIndexingTest[4]#createsCorrectRangePartitions` 
| 56.770s | **12.185s** | **44.585s / 78.5%** |
   | `KafkaRecordSupplierTest#testSeekUnassigned` | 125.3s | **5.7s** | 
**119.6s / 95.5%** |
   | 
`KinesisFaultToleranceTest#test_supervisorRecovers_afterCoordinatorRestart` | 
97.6s | **43.0s** | **54.7s / 56.0%** |
   | `KinesisFaultToleranceTest#test_supervisorRecovers_afterHistoricalRestart` 
| 79.0s | **33.7s** | **45.2s / 57.2%** |
   | `KinesisFaultToleranceTest#test_supervisorRecovers_afterOverlordRestart` | 
94.2s | **39.5s** | **54.7s / 58.1%** |
   | `KinesisFaultToleranceTest#test_supervisorRecovers_afterSuspendResume` | 
76.4s | **35.3s** | **41.1s / 53.8%** |
   | `MergingRowIteratorTest#testAllPossible5ElementSequences` | 53.845s | 
**35.635s** | **18.210s / 33.8%** |
   
   ## Validation
   
   - Rebased onto the latest `apache/druid/master`.
   - `mvn -ntp test-compile -pl embedded-tests,processing,indexing-service -am 
-Pskip-static-checks -Dweb.console.skip=true -T1C` — passed.
   - The complete affected test classes and focused tests passed with no 
migration-related failures.
   - Checkstyle, SpotBugs, and `git diff --check` passed before publication.
   


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