Skip to content

Commit af54c26

Browse files
Fix sync list_shares test leaking shares due to wrong cleanup prefix (#47595)
1 parent c06de3e commit af54c26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/storage/azure-storage-file-share/tests/test_share.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def test_list_shares_with_num_results_and_marker(self, **kwargs):
953953
assert len(shares2) == 2
954954
self.assertNamedItemInContainer(shares2, share_names[2])
955955
self.assertNamedItemInContainer(shares2, share_names[3])
956-
self._delete_shares()
956+
self._delete_shares(prefix)
957957

958958
@FileSharePreparer()
959959
@recorded_by_proxy

0 commit comments

Comments
 (0)