Skip to content

Commit dfd69b1

Browse files
committed
add comment line
1 parent a92b1d6 commit dfd69b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/repository-gcs/src/test/java/org/elasticsearch/repositories/gcs/GoogleCloudStorageBlobContainerStatsTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ public void testResumableWrite() throws Exception {
106106
final String blobName = randomIdentifier();
107107
final int size = randomIntBetween((int) store.getLargeBlobThresholdInBytes(), (int) store.getLargeBlobThresholdInBytes() * 2);
108108
final BytesArray blobContents = new BytesArray(randomByteArrayOfLength(size));
109+
110+
// resumable write in GCS sends at least two HTTP requests one POST with metadata and at least one PUT with payload
109111
container.writeBlob(randomPurpose(), blobName, blobContents, true);
110112
assertEquals(createStats(1, 0, 0), store.stats());
111113

0 commit comments

Comments
 (0)