Skip to content

Add tests and address comments

Codecov / codecov/patch failed Sep 2, 2024 in 0s

69.76% of diff hit (target 72.02%)

View this Pull Request on Codecov

69.76% of diff hit (target 72.02%)

Annotations

Check warning on line 906 in server/src/main/java/org/opensearch/cluster/coordination/Coordinator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/Coordinator.java#L905-L906

Added lines #L905 - L906 were not covered by tests

Check warning on line 182 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L182

Added line #L182 was not covered by tests

Check warning on line 186 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L186

Added line #L186 was not covered by tests

Check warning on line 262 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L261-L262

Added lines #L261 - L262 were not covered by tests

Check warning on line 265 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L264-L265

Added lines #L264 - L265 were not covered by tests

Check warning on line 270 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L270

Added line #L270 was not covered by tests

Check warning on line 274 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L272-L274

Added lines #L272 - L274 were not covered by tests

Check warning on line 289 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L289

Added line #L289 was not covered by tests

Check warning on line 294 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L291-L294

Added lines #L291 - L294 were not covered by tests

Check warning on line 305 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L303-L305

Added lines #L303 - L305 were not covered by tests

Check warning on line 309 in server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/coordination/PublicationTransportHandler.java#L309

Added line #L309 was not covered by tests

Check warning on line 749 in server/src/main/java/org/opensearch/gateway/GatewayMetaState.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/GatewayMetaState.java#L749

Added line #L749 was not covered by tests

Check warning on line 1658 in server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java#L1658

Added line #L1658 was not covered by tests

Check warning on line 1674 in server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java#L1674

Added line #L1674 was not covered by tests

Check warning on line 1679 in server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java#L1678-L1679

Added lines #L1678 - L1679 were not covered by tests

Check warning on line 1683 in server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java#L1682-L1683

Added lines #L1682 - L1683 were not covered by tests

Check warning on line 67 in server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 87 in server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 91 in server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 98 in server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/remote/RemotePersistenceStats.java#L98

Added line #L98 was not covered by tests