Skip to content

Commit

Permalink
Add unittests for RemoteClusterStateAttributesManager (opensearch-pro…
Browse files Browse the repository at this point in the history
…ject#14427) (opensearch-project#14593)

* Add unittests for RemoteClusterStateAttributesManager

(cherry picked from commit a34270d)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: kkewwei <kkewwei@163.com>
  • Loading branch information
2 people authored and kkewwei committed Jul 24, 2024
1 parent 27b0b6c commit 5a6e2a8
Show file tree
Hide file tree
Showing 2 changed files with 231 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
*/
public class RemoteClusterStateCustoms extends AbstractRemoteWritableBlobEntity<Custom> {
public static final String CLUSTER_STATE_CUSTOM = "cluster-state-custom";
public final ChecksumWritableBlobStoreFormat<ClusterState.Custom> clusterStateCustomsFormat;

private long stateVersion;
private final String customType;
private ClusterState.Custom custom;
private final NamedWriteableRegistry namedWriteableRegistry;
private final ChecksumWritableBlobStoreFormat<ClusterState.Custom> clusterStateCustomsFormat;

public RemoteClusterStateCustoms(
final ClusterState.Custom custom,
Expand Down
Loading

0 comments on commit 5a6e2a8

Please sign in to comment.