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(sync): make sure sync doesn't write on shutdown #1370

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

peusebiu
Copy link
Collaborator

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

andaaron
andaaron previously approved these changes Apr 13, 2023
Copy link
Contributor

@andaaron andaaron left a comment

Choose a reason for hiding this comment

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

LGTM

@rchincha
Copy link
Contributor

Is this ready for review and what is this fixing?

@peusebiu
Copy link
Collaborator Author

Is this ready for review and what is this fixing?

Yes, people complained a couple of times that a sync test was failing with "rm: can not remove dir, Directory not empty"
because sync continued to write while test was trying to clean zot storage.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #1370 (b59aeac) into main (0586c62) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1370   +/-   ##
=======================================
  Coverage   90.52%   90.52%           
=======================================
  Files          98       98           
  Lines       21480    21480           
=======================================
  Hits        19445    19445           
  Misses       1521     1521           
  Partials      514      514           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@andaaron andaaron left a comment

Choose a reason for hiding this comment

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

LGTM

@peusebiu peusebiu marked this pull request as ready for review April 19, 2023 16:19
@rchincha rchincha merged commit d818293 into project-zot:main Apr 19, 2023
25 checks passed
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

3 participants