Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public void testResumableWrite() throws Exception {
final String blobName = randomIdentifier();
final int size = randomIntBetween((int) store.getLargeBlobThresholdInBytes(), (int) store.getLargeBlobThresholdInBytes() * 2);
final BytesArray blobContents = new BytesArray(randomByteArrayOfLength(size));

// resumable write in GCS sends at least two HTTP requests one POST with metadata and at least one PUT with payload
container.writeBlob(randomPurpose(), blobName, blobContents, true);
assertEquals(createStats(1, 0, 0), store.stats());

Expand Down