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(test/daser): stop the eds store before finishing the test #2918

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

vgonkivs
Copy link
Member

@vgonkivs vgonkivs commented Nov 8, 2023

All tests that used TestAvailability were flaky. They could randomly receive tempdir remove all cleanup unlinkat directory not empty. It happened to me 100% time when I was running a test with --count > 50. It happened because the eds store was storing the data and the temp folder could not be deleted.

Снимок экрана 2023-11-08 в 19 22 57

@vgonkivs vgonkivs added kind:testing Related to unit tests kind:fix Attached to bug-fixing PRs flakiness labels Nov 8, 2023
@vgonkivs vgonkivs self-assigned this Nov 8, 2023
@vgonkivs vgonkivs requested a review from ramin November 8, 2023 17:16
@codecov-commenter
Copy link

codecov-commenter commented Nov 9, 2023

Codecov Report

Merging #2918 (84b9ae7) into main (38ef883) will increase coverage by 1.49%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2918      +/-   ##
==========================================
+ Coverage   50.26%   51.75%   +1.49%     
==========================================
  Files         167      167              
  Lines       10801    10806       +5     
==========================================
+ Hits         5429     5593     +164     
+ Misses       4888     4720     -168     
- Partials      484      493       +9     
Files Coverage Δ
share/availability/full/testing.go 100.00% <100.00%> (ø)

... and 8 files with indirect coverage changes

@vgonkivs vgonkivs merged commit 806274b into celestiaorg:main Nov 9, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flakiness kind:fix Attached to bug-fixing PRs kind:testing Related to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants