diff --git a/sdk/storage/azure-storage-blob/tests/test_common_blob.py b/sdk/storage/azure-storage-blob/tests/test_common_blob.py index d318321632b2..335ec13bdeef 100644 --- a/sdk/storage/azure-storage-blob/tests/test_common_blob.py +++ b/sdk/storage/azure-storage-blob/tests/test_common_blob.py @@ -1530,7 +1530,7 @@ def test_lease_blob_with_duration(self, storage_account_name, storage_account_ke blob = self.bsc.get_blob_client(self.container_name, blob_name) lease = blob.acquire_lease(lease_duration=15) resp = blob.upload_blob(b'hello 2', length=7, lease=lease) - self.sleep(15) + self.sleep(17) # Assert with self.assertRaises(HttpResponseError): diff --git a/sdk/storage/azure-storage-blob/tests/test_common_blob_async.py b/sdk/storage/azure-storage-blob/tests/test_common_blob_async.py index dfa4ccab5879..907e1055ee98 100644 --- a/sdk/storage/azure-storage-blob/tests/test_common_blob_async.py +++ b/sdk/storage/azure-storage-blob/tests/test_common_blob_async.py @@ -1710,7 +1710,7 @@ async def test_lease_blob_with_duration(self, storage_account_name, storage_acco blob = self.bsc.get_blob_client(self.container_name, blob_name) lease = await blob.acquire_lease(lease_duration=15) resp = await blob.upload_blob(b'hello 2', length=7, lease=lease) - self.sleep(15) + self.sleep(17) # Assert with self.assertRaises(HttpResponseError): diff --git a/sdk/storage/azure-storage-blob/tests/test_container.py b/sdk/storage/azure-storage-blob/tests/test_container.py index ad2159941bb4..de7d70c8bda9 100644 --- a/sdk/storage/azure-storage-blob/tests/test_container.py +++ b/sdk/storage/azure-storage-blob/tests/test_container.py @@ -751,7 +751,7 @@ def test_lease_container_with_duration(self, storage_account_name, storage_accou # Assert with self.assertRaises(HttpResponseError): container.acquire_lease() - self.sleep(15) + self.sleep(17) container.acquire_lease() @BlobPreparer() diff --git a/sdk/storage/azure-storage-blob/tests/test_container_async.py b/sdk/storage/azure-storage-blob/tests/test_container_async.py index 2a8d14f5dfd7..832fbab99d4e 100644 --- a/sdk/storage/azure-storage-blob/tests/test_container_async.py +++ b/sdk/storage/azure-storage-blob/tests/test_container_async.py @@ -844,7 +844,7 @@ async def test_lease_container_with_duration(self, storage_account_name, storage # Assert with self.assertRaises(HttpResponseError): await container.acquire_lease() - self.sleep(15) + self.sleep(17) await container.acquire_lease() @BlobPreparer() diff --git a/sdk/storage/azure-storage-file-share/tests/test_share.py b/sdk/storage/azure-storage-file-share/tests/test_share.py index 20975c68dc46..c8dff7a2eae5 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_share.py +++ b/sdk/storage/azure-storage-file-share/tests/test_share.py @@ -259,7 +259,7 @@ def test_lease_share_with_duration(self, storage_account_name, storage_account_k # Assert with self.assertRaises(HttpResponseError): share_client.acquire_lease() - self.sleep(15) + self.sleep(17) share_client.acquire_lease() @FileSharePreparer() diff --git a/sdk/storage/azure-storage-file-share/tests/test_share_async.py b/sdk/storage/azure-storage-file-share/tests/test_share_async.py index b97ef9e346c0..b6e8534d7591 100644 --- a/sdk/storage/azure-storage-file-share/tests/test_share_async.py +++ b/sdk/storage/azure-storage-file-share/tests/test_share_async.py @@ -274,7 +274,7 @@ async def test_lease_share_with_duration(self, storage_account_name, storage_acc # Assert with self.assertRaises(HttpResponseError): await share_client.acquire_lease() - self.sleep(15) + self.sleep(17) await share_client.acquire_lease() @FileSharePreparer()