Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore scan_dir timeout in tests #3184

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

davidkna
Copy link
Member

Description

I noticed that recent intermittent test failures have logged that file scanning takes longer than 20ms. In these cases, ScanDir is likely aborted because it takes longer than scan_timeout (20ms). This PR disables the scan timeout entirely in testing.

Motivation and Context

Related #886

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@davidkna davidkna requested a review from a team October 27, 2021 13:39
@andytom andytom merged commit 6e6ab9f into starship:master Oct 30, 2021
@davidkna davidkna deleted the test-fix-timeout branch October 30, 2021 11:46
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.

None yet

2 participants