Skip to content

add unit tests

Codecov / codecov/patch succeeded May 8, 2024 in 1s

83.16% of diff hit (target 71.42%)

View this Pull Request on Codecov

83.16% of diff hit (target 71.42%)

Annotations

Check warning on line 147 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobContainer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobContainer.java#L147

Added line #L147 was not covered by tests

Check warning on line 219 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobStore.java#L219

Added line #L219 was not covered by tests

Check warning on line 624 in server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java#L624

Added line #L624 was not covered by tests

Check warning on line 177 in server/src/main/java/org/opensearch/index/translog/transfer/BlobStoreTransferService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/BlobStoreTransferService.java#L177

Added line #L177 was not covered by tests

Check warning on line 178 in server/src/main/java/org/opensearch/index/translog/transfer/FileSnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/FileSnapshot.java#L176-L178

Added lines #L176 - L178 were not covered by tests

Check warning on line 145 in server/src/main/java/org/opensearch/index/translog/transfer/FileTransferTracker.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/FileTransferTracker.java#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 150 in server/src/main/java/org/opensearch/index/translog/transfer/FileTransferTracker.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/FileTransferTracker.java#L147-L150

Added lines #L147 - L150 were not covered by tests

Check warning on line 77 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java#L76-L77

Added lines #L76 - L77 were not covered by tests

Check warning on line 85 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 111 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java#L110-L111

Added lines #L110 - L111 were not covered by tests

Check warning on line 116 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogCheckpointSnapshot.java#L115-L116

Added lines #L115 - L116 were not covered by tests

Check warning on line 84 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogCkpFilesTransferManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogCkpFilesTransferManager.java#L84

Added line #L84 was not covered by tests

Check warning on line 330 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java#L329-L330

Added lines #L329 - L330 were not covered by tests

Check warning on line 395 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManager.java#L394-L395

Added lines #L394 - L395 were not covered by tests

Check warning on line 21 in server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/translog/transfer/TranslogTransferManagerFactory.java#L21

Added line #L21 was not covered by tests