IGNITE-28834 Apply test load scaling (GridTestUtils.SF) to long-running tests#13294
Merged
Merged
Conversation
…ng tests Wrap load loops and time-boxed durations of the heaviest non-scaled tests in GridTestUtils.SF.applyLB(...) so they honor TEST_SCALE_FACTOR on CI, with lower bounds that keep each scenario meaningful at factor 0.1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
NSAmelchev
approved these changes
Jun 30, 2026
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.
IGNITE-28834
Wrap the load loops / time-boxed durations of the heaviest tests that were not honoring
TEST_SCALE_FACTORinGridTestUtils.SF.applyLB(...), so they scale down on CI (where the factor is0.1) while keeping a safe lower bound at full scale.Scaled tests
IgniteTxCacheWriteSynchronizationModesMultithreadedTest— 10s load windowTxDeadlockDetectionNoHangsTest/TxDeadlockDetectionTest— 2-min run windowIgniteCacheGetRestartTest—TEST_TIME/KEYSCrossCacheTxRandomOperationsTest— 10s windowSegmentedRingByteBufferTest— 60s producer/consumer windowsTxPartitionCounterStateConsistencyTest— 30s restart windowsIgnitePdsTransactionsHangTest—DURATION(kept above warm-up)CacheFreeListSelfTest— grow/shrink load (200k → LB 50k)ConcurrentCheckpointAndUpdateTtlTest— checkpoint loopIgniteCachePutAllRestartTest— 2-min + 60s put windowsLower bounds keep each scenario meaningful at factor
0.1(e.g. ≥20s for deadlock detection, ≥10s for tx/restart windows, ≥50k entries for free-list grow/shrink).Selection stopped where per-test saving drops below ~1 minute; the remaining heavy tests are topology/fan-out bound (no scalable load) and are out of scope.
Validation
mvn clean test-compile -pl modules/coreis green (JDK 17).🤖 Generated with Claude Code