Skip to content

chore(ci): resolve flaky test failures in hooks/tests/test-run#17976

Draft
vlad-scherbich wants to merge 1 commit intomainfrom
vlad/fix-run-fmt-test-mock
Draft

chore(ci): resolve flaky test failures in hooks/tests/test-run#17976
vlad-scherbich wants to merge 1 commit intomainfrom
vlad/fix-run-fmt-test-mock

Conversation

@vlad-scherbich
Copy link
Copy Markdown
Contributor

Description

The test mock for run-fmt.sh was missing a git diff variant, so
three tests would fail whenever the working tree had dirty .py files.
Added the missing pattern to the mock so all 22 tests pass regardless
of local tree state.

Testing

sh hooks/tests/test-run-fmt.sh — 22 passed, 0 failed.

@vlad-scherbich vlad-scherbich added the changelog/no-changelog A changelog entry is not required for this PR. label May 7, 2026
@cit-pr-commenter-54b7da
Copy link
Copy Markdown

Codeowners resolved as

hooks/tests/test-run-fmt.sh                                             @DataDog/apm-core-python

@vlad-scherbich vlad-scherbich changed the title Fix flaky/environment-dependent test failures in hooks/tests/test-run… chore(ci): resolve flaky test failures in hooks/tests/test-run May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant