Skip to content

Commit

Permalink
Set longer settings update task timeout
Browse files Browse the repository at this point in the history
It appears that task cancelation is executed before the settings update is
event starting in testClusterSettingsUpdateNotAcknowledged. This change uses
longer timeout to improve the probability of blocking.
  • Loading branch information
idegtiarenko committed Oct 23, 2023
1 parent cfb0780 commit 71fea87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void testClusterSettingsUpdateNotAcknowledged() throws Exception {
.cluster()
.prepareUpdateSettings()
.setPersistentSettings(Settings.builder().put(BlockingClusterSettingTestPlugin.TEST_BLOCKING_SETTING.getKey(), true).build())
.setMasterNodeTimeout(TimeValue.timeValueMillis(10L))
.setMasterNodeTimeout(TimeValue.timeValueMillis(100L))
.execute();

logger.info("--> waiting for cluster state update to be blocked");
Expand Down

0 comments on commit 71fea87

Please sign in to comment.