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 ADLS Gen 2 ACL tests & copying #2347

Merged
merged 5 commits into from
Sep 27, 2023
Merged

Conversation

adreed-msft
Copy link
Member

When updating the DFS handling code to actually record all dfs endpoints as BlobFS and handle the swapping at the time it's needed, some faulty testing caused us to believe that this code was actually working. It was not.

This PR repairs both the ACL copying functionality and the testing for that functionality.

@@ -326,12 +326,18 @@ func (r *resourceBlobContainer) appendSourcePath(filePath string, useSas bool) {
}

func (r *resourceBlobContainer) getAllProperties(a asserter) map[string]*objectProperties {
objects := scenarioHelper{}.enumerateContainerBlobProperties(a, r.containerClient)

var fileSystem *azbfs.FileSystemURL
Copy link
Member

Choose a reason for hiding this comment

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

how hard would it be to just migrate this to the new datalake sdk preemptively?

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.

if its possible to write the new code using the new sdk, that would be great. Otherwise looks good.

@adreed-msft adreed-msft merged commit 1450346 into main Sep 27, 2023
17 checks passed
adreed-msft added a commit that referenced this pull request Sep 27, 2023
adreed-msft added a commit that referenced this pull request Sep 27, 2023
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