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(app-shell): Fix flaky file system test #17212

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

mjhuff
Copy link
Contributor

@mjhuff mjhuff commented Jan 8, 2025

Overview

Running the file population and dir cleanup commands in parallel likely creates ENOENT errors that get swallowed and cause the test to periodically fail in the manner demonstrated here.

To fix, let's do the emptyDir invocations before the createFile invocations.

Test Plan and Hands on Testing

  • Does the test pass?

Risk assessment

none - just a test change

@mjhuff mjhuff requested a review from sfoster1 January 8, 2025 14:36
@mjhuff mjhuff requested a review from a team as a code owner January 8, 2025 14:36
@mjhuff mjhuff requested review from jerader and removed request for a team January 8, 2025 14:36
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We love await

@mjhuff mjhuff merged commit cff47c9 into chore_release-8.3.0 Jan 8, 2025
42 checks passed
@mjhuff mjhuff deleted the app-shell_fix-flaky-fs-test branch January 8, 2025 15:00
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