Skip to content

Commit 7295c10

Browse files
committed
flaky tests enabled on gmq
1 parent 7c9a7a3 commit 7295c10

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/actions/flaky-test-sim/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ runs:
2525
echo "Base branch: ${{ github.base_ref }}"
2626
echo "Failure rate: ${{ inputs.failure-rate }}%"
2727
28-
# Check if base branch is master-gmq (no flaky failures for gmq)
29-
if [[ "${{ github.base_ref }}" == "master-gmq" ]]; then
30-
echo "✅ Base branch is 'master-gmq' - no flaky failures for gmq merge queue"
28+
# Check if this is a merge queue branch (enable flaky tests for merge queue)
29+
if [[ "${{ github.head_ref }}" == gh-readonly-queue/* ]]; then
30+
echo "🎲 This is a merge queue branch - flaky tests ENABLED for merge queue testing"
31+
echo "Merge queue branch: ${{ github.head_ref }}"
32+
# Continue with flaky test simulation
33+
elif [[ "${{ github.base_ref }}" == "master-gmq" ]]; then
34+
echo "✅ Regular PR to master-gmq - no flaky failures for initial CI"
3135
exit 0
3236
fi
3337

0 commit comments

Comments
 (0)