Skip to content

Fix flaky tests rel 2 stable - #2061

Open
Alena0704 wants to merge 4 commits into
apache:REL_2_STABLEfrom
Alena0704:fix-flaky-tests-rel-2-stable
Open

Alena0704 wants to merge 4 commits into
apache:REL_2_STABLEfrom
Alena0704:fix-flaky-tests-rel-2-stable

Conversation

@Alena0704

Copy link
Copy Markdown
Collaborator

Collect all fixes from #2032 that can improve CI stability after having reviewed with refactored commit messages.

Author: Dianjin Wang wangdianjin@gmail.com
Assisted-by: Claude Code

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


Replace pg_sleep() with gp_stat_force_next_flush() to force a stats
flush instead of waiting. Update the expected output.

Assisted-by: Claude Code
Backpatch-through: REL_2_STABLE
Assisted-by: Claude Code
Backpatch-through: REL_2_STABLE
The test already averages CPU samples, but the expected values are
still too low. The suite sets the cluster CPU limit to 100%, so expect
100% for one uncapped group and 33%/67% for groups with weights 100/200.

Keep the existing tolerance of 10 percentage points.

Assisted-by: Claude Code
Backpatch-through: REL_2_STABLE
These tasks only check that valid schedules are accepted.
Deactivate them after creation to avoid background runs interfering
with cleanup and the oid_wraparound test.

Assisted-by: Claude Code
Backpatch-through: REL_2_STABLE
@Alena0704
Alena0704 force-pushed the fix-flaky-tests-rel-2-stable branch from 435867e to 335738d Compare September 29, 2026 16:58
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