Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit a95f7d7

Browse files
author
Josh Friedman
committed
Fix failing test which relied on small put blob size
1 parent 642f17b commit a95f7d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

microsoft-azure-storage-test/src/com/microsoft/azure/storage/MaximumExecutionTimeTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ public void testMaximumExecutionTimeBlobWrites() throws URISyntaxException, Stor
191191
BlobRequestOptions options = new BlobRequestOptions();
192192
options.setMaximumExecutionTimeInMs(5000);
193193

194+
// set a lower put blob threshold so that we perform multiple put block requests that timeout
195+
options.setSingleBlobPutThresholdInBytes(32 * Constants.MB);
196+
194197
CloudBlobClient blobClient = TestHelper.createCloudBlobClient();
195198
CloudBlobContainer container = blobClient.getContainerReference(generateRandomName("container"));
196199

0 commit comments

Comments
 (0)