Skip to content

Commit 2b93478

Browse files
committed
is it sourceContainer vs targetContainer?
1 parent 11da091 commit 2b93478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/test/java/org/elasticsearch/common/blobstore/fs/FsBlobContainerTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,9 @@ public void testCopy() throws IOException {
395395
() -> sourceContainer.copyBlob(randomPurpose(), sourceBlobName, targetContainer, targetBlobName, true)
396396
);
397397

398+
var sourceContents = Streams.readFully(sourceContainer.readBlob(randomPurpose(), sourceBlobName));
398399
var targetContents = Streams.readFully(targetContainer.readBlob(randomPurpose(), targetBlobName));
400+
assertEquals(sourceContents, targetContents);
399401
assertEquals(contents, targetContents);
400402
}
401403

0 commit comments

Comments
 (0)