-
Notifications
You must be signed in to change notification settings - Fork 219
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
This reverts commit 1450346.
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.