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

test: Fix empty dir check in testUpload #919

Merged
merged 1 commit into from
Jan 28, 2025
Merged

test: Fix empty dir check in testUpload #919

merged 1 commit into from
Jan 28, 2025

Conversation

martinpitt
Copy link
Member

Similar to commit b045f17, this test changes into an empty (except for 3 hidden files) directory. So wait for that. This fixes a race condition where the test would only succeed if the empty state wasn't rendered too fast.


failure 1, failure 2

Spotted in #917 due to 3x affected tests.

Similar to commit b045f17, this test changes into an empty (except
for 3 hidden files) directory. So wait for that. This fixes a race
condition where the test would only succeed if the empty state wasn't
rendered too fast.
@martinpitt martinpitt mentioned this pull request Jan 28, 2025
6 tasks
@martinpitt martinpitt merged commit 473fb3c into main Jan 28, 2025
22 of 26 checks passed
@martinpitt martinpitt deleted the fix-test branch January 28, 2025 10:14
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