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 path joining in and test --delete-destination #2620

Merged

Conversation

adreed-msft
Copy link
Member

@adreed-msft adreed-msft commented Mar 23, 2024

This PR is presently based on create-hash-data-folder, because much of the work is re-used.

Currently, --delete-directory is completely broken, because the usage of path.Join in syncProcessor.go was incorrect. This PR adds testing in for the feature in the E2E testing framework, and re-uses the work from it's base PR for objects creating their parents in the E2E framework.

Copy link
Member

@gapra-msft gapra-msft left a comment

Choose a reason for hiding this comment

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

lgtm

@adreed-msft adreed-msft force-pushed the adreed/create-hash-data-folder branch 2 times, most recently from e06e447 to 6241cc6 Compare April 29, 2024 18:57
@adreed-msft adreed-msft merged commit 8c6cc61 into adreed/create-hash-data-folder May 3, 2024
2 checks passed
adreed-msft added a commit that referenced this pull request May 9, 2024
#2611)

* Automatically create the hash data directory when using an alternative

* Remove sync.Once from struct

* Remove unnecessary struct element

* Fix test

* Disable XAttr testing in CI

* Fix path joining in and test --delete-destination (#2620)

* Automatically create the hash data directory when using an alternative

* Fix path joining in and test --delete-destination

* Create share test fix

* Backport fixes from NewE2E early exit changes

* Remove sync.Once struct from hidden file adapter

* Prevent crash in blob

* Use my braincells
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

4 participants