Skip to content

Commit

Permalink
Target the correct destination account, stop checking tags on HNS
Browse files Browse the repository at this point in the history
  • Loading branch information
adreed-msft committed Oct 22, 2024
1 parent 3e10ab6 commit 37fe232
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion e2etest/newe2e_resource_managers_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,10 @@ func (b *BlobObjectResourceManager) GetPropertiesWithOptions(a Asserter, options
Type: resp.BlobType,
Tags: func() map[string]string {
out := make(map[string]string)
if b.internalAccount.AccountType() == EAccountType.PremiumPageBlobs() {
if b.internalAccount.AccountType() == EAccountType.PremiumPageBlobs() || b.internalAccount.AccountType() == EAccountType.HierarchicalNamespaceEnabled() {
return out
}

resp, err := b.internalClient.GetTags(ctx, nil)
a.NoError("Get tags", err)
for _, tag := range resp.BlobTagSet {
Expand Down
2 changes: 1 addition & 1 deletion e2etest/zt_newe2e_blobfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (s *BlobFSTestSuite) Scenario_VirtualDirectoryHandling(svm *ScenarioVariati
GetRootResource(svm, ResolveVariation(svm, []common.Location{
common.ELocation.Blob(),
common.ELocation.BlobFS(),
})),
}), GetResourceOptions{PreferredAccount: targetAcct}),
ResourceDefinitionContainer{})

RunAzCopy(
Expand Down
4 changes: 0 additions & 4 deletions e2etest/zt_newe2e_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -899,9 +899,5 @@ func (s *ListSuite) Scenario_VirtualDirectoryHandling(svm *ScenarioVariationMana
}
}

if !svm.Dryrun() {
svm.Log(stdout.String())
}

ValidateListOutput(svm, stdout, expectedObjects, nil) // No expected summary
}

0 comments on commit 37fe232

Please sign in to comment.