diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs index 9c4fd0fe97381..95510901d544e 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs @@ -74,7 +74,8 @@ public BlobClientOptions GetOptions(bool parallelRange = false) Mode = RetryMode.Exponential, MaxRetries = Storage.Constants.MaxReliabilityRetries, Delay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.01 : 1), - MaxDelay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.1 : 60) + MaxDelay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.1 : 60), + NetworkTimeout = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 100 : 200), }, Transport = GetTransport() }; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs index 6a4cc5522338d..abfec1bf3a1c1 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs @@ -69,7 +69,8 @@ public DataLakeClientOptions GetOptions(bool parallelRange = false) Mode = RetryMode.Exponential, MaxRetries = Constants.MaxReliabilityRetries, Delay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.01 : 1), - MaxDelay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.1 : 60) + MaxDelay = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 0.1 : 60), + NetworkTimeout = TimeSpan.FromSeconds(Mode == RecordedTestMode.Playback ? 100 : 200), }, Transport = GetTransport() }; diff --git a/sdk/storage/tests.yml b/sdk/storage/tests.yml index 8ac4f5200e265..3ee45fe51ffd5 100644 --- a/sdk/storage/tests.yml +++ b/sdk/storage/tests.yml @@ -5,7 +5,7 @@ extends: parameters: ServiceDirectory: storage BuildInParallel: true - TimeoutInMinutes: 90 + TimeoutInMinutes: 180 Location: canadacentral Clouds: Preview TestSetupSteps: