Skip to content

IGNITE-28834 Apply test load scaling (GridTestUtils.SF) to long-running tests#13294

Merged
anton-vinogradov merged 1 commit into
apache:masterfrom
anton-vinogradov:IGNITE-28834
Jun 30, 2026
Merged

IGNITE-28834 Apply test load scaling (GridTestUtils.SF) to long-running tests#13294
anton-vinogradov merged 1 commit into
apache:masterfrom
anton-vinogradov:IGNITE-28834

Conversation

@anton-vinogradov

Copy link
Copy Markdown
Contributor

IGNITE-28834

Wrap the load loops / time-boxed durations of the heaviest tests that were not honoring TEST_SCALE_FACTOR in GridTestUtils.SF.applyLB(...), so they scale down on CI (where the factor is 0.1) while keeping a safe lower bound at full scale.

Scaled tests

  • IgniteTxCacheWriteSynchronizationModesMultithreadedTest — 10s load window
  • TxDeadlockDetectionNoHangsTest / TxDeadlockDetectionTest — 2-min run window
  • IgniteCacheGetRestartTestTEST_TIME / KEYS
  • CrossCacheTxRandomOperationsTest — 10s window
  • SegmentedRingByteBufferTest — 60s producer/consumer windows
  • TxPartitionCounterStateConsistencyTest — 30s restart windows
  • IgnitePdsTransactionsHangTestDURATION (kept above warm-up)
  • CacheFreeListSelfTest — grow/shrink load (200k → LB 50k)
  • ConcurrentCheckpointAndUpdateTtlTest — checkpoint loop
  • IgniteCachePutAllRestartTest — 2-min + 60s put windows

Lower 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/core is green (JDK 17).

🤖 Generated with Claude Code

…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>
@anton-vinogradov anton-vinogradov merged commit d8b6b2d into apache:master Jun 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants