Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Nov 11, 2024
1 parent 74d25b9 commit d06e6c1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,13 @@ public void runCopy() {

@Test
public void runReadAllBytes() {
BlobInfo blobInfo =
BlobInfo.newBuilder(blobId).setContentType("text/plain").build();
BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType("text/plain").build();
storage.create(blobInfo, helloWorldTextBytes);
byte[] read = storage.readAllBytes(blobId);
TestExporter testExported = (TestExporter) exporter;
List<SpanData> spanData = testExported.getExportedSpans();
checkCommonAttributes(spanData);
Assert.assertTrue(spanData.stream().anyMatch(x -> x.getName().contains("load")));

}

private void checkCommonAttributes(List<SpanData> spanData) {
Expand Down

0 comments on commit d06e6c1

Please sign in to comment.