perf(test): cut high-cost CI test latency while preserving coverage - #20127
Draft
FrankChen021 wants to merge 12 commits into
Draft
perf(test): cut high-cost CI test latency while preserving coverage#20127FrankChen021 wants to merge 12 commits into
FrankChen021 wants to merge 12 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
AutoCompactionTestfiltered supervisor testsMSQWorkerFaultToleranceTest#test_cancelledWorker_isRetried_ifFaultToleranceIsEnabledCostBasedAutoScalerIntegrationTest#test_autoScaler_scalesUpAndDown_withSlowPublishFrameWriterTest#test_insufficientWriteCapacity(3 applicable parameter sets)RangePartitionMultiPhaseParallelIndexingTest[4]#createsCorrectRangePartitionsKafkaRecordSupplierTest#testSeekUnassignedKinesisFaultToleranceTest#test_supervisorRecovers_afterCoordinatorRestartKinesisFaultToleranceTest#test_supervisorRecovers_afterHistoricalRestartKinesisFaultToleranceTest#test_supervisorRecovers_afterOverlordRestartKinesisFaultToleranceTest#test_supervisorRecovers_afterSuspendResumeMergingRowIteratorTest#testAllPossible5ElementSequencesValidation
apache/druid/master.mvn -ntp test-compile -pl embedded-tests,processing,indexing-service -am -Pskip-static-checks -Dweb.console.skip=true -T1C— passed.git diff --checkpassed before publication.