Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Owais Kazi <[email protected]>
  • Loading branch information
owaiskazi19 committed Jul 15, 2022
1 parent b72ba4b commit cae2490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/org/opensearch/sdk/TestExtensionsRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,23 @@ public void testClusterStateRequest() {

extensionsRunner.sendClusterStateRequest(transportService);

verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any());
verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any(ClusterStateResponseHandler.class));
}

@Test
public void testClusterSettingRequest() {

extensionsRunner.sendClusterSettingsRequest(transportService);

verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any());
verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any(ClusterSettingsResponseHandler.class));
}

@Test
public void testLocalNodeRequest() {

extensionsRunner.sendLocalNodeRequest(transportService);

verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any());
verify(transportService, times(1)).sendRequest(any(), anyString(), any(), any(LocalNodeResponseHandler.class));
}

}

0 comments on commit cae2490

Please sign in to comment.