Skip to content

Commit 797ff21

Browse files
fix paid burst testing (#36995)
1 parent 677f962 commit 797ff21

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,8 @@ def test_share_paid_bursting(self, **kwargs):
16581658
iops = 102400
16591659

16601660
# Act / Assert
1661-
share = self._create_share(
1661+
share = self._get_share_reference()
1662+
share.create_share(
16621663
paid_bursting_enabled=True,
16631664
paid_bursting_bandwidth_mibps=5000,
16641665
paid_bursting_iops=1000

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,8 @@ async def test_share_paid_bursting(self, **kwargs):
16951695
iops = 102400
16961696

16971697
# Act / Assert
1698-
share = await self._create_share(
1698+
share = self._get_share_reference()
1699+
await share.create_share(
16991700
paid_bursting_enabled=True,
17001701
paid_bursting_bandwidth_mibps=5000,
17011702
paid_bursting_iops=1000

0 commit comments

Comments
 (0)