Skip to content

fix: mitigate flaky tests on path reloading#495

Open
Molter73 wants to merge 1 commit intomainfrom
mauro/fix/flaky-reload-tests
Open

fix: mitigate flaky tests on path reloading#495
Molter73 wants to merge 1 commit intomainfrom
mauro/fix/flaky-reload-tests

Conversation

@Molter73
Copy link
Copy Markdown
Contributor

@Molter73 Molter73 commented Apr 10, 2026

Description

Reloading the paths now triggers a scan of the filesystem, which can take slightly longer than what it used to take when the scan wasn't done. In order to mitigate this, we bump the amount of time the tests wait before attempting to trigger events after reloading configuration with monitored paths being changed.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

CI should be enough.

Reloading the paths now triggers a scan of the filesystem, which can
take slightly longer than what it used to take when the scan wasn't
done. In order to mitigate this, we bump the amount of time the tests
wait before attempting to trigger events after reloading configuration
with monitored paths being changed.
@Molter73 Molter73 marked this pull request as ready for review April 10, 2026 15:33
@Molter73 Molter73 requested a review from a team as a code owner April 10, 2026 15:33
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.

1 participant