Skip to content

Commit

Permalink
change a .setMasterNodeTimeout to .setClusterManagerNodeTimeout
Browse files Browse the repository at this point in the history
Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed Jun 22, 2022
1 parent a0b3f74 commit 5f55097
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testIndexExistsWithBlocksInPlace() throws IOException {
String node = internalCluster().startNode(settings);

assertRequestBuilderThrows(
client(node).admin().indices().prepareExists("test").setMasterNodeTimeout(TimeValue.timeValueSeconds(0)),
client(node).admin().indices().prepareExists("test").setClusterManagerNodeTimeout(TimeValue.timeValueSeconds(0)),
ClusterManagerNotDiscoveredException.class
);

Expand Down

0 comments on commit 5f55097

Please sign in to comment.