[Tests] ClusterHealthIT:testHealthOnMasterFailover - Increase master node timeout (#1812)

Signed-off-by: Suraj Singh <surajrider@gmail.com>
This commit is contained in:
Suraj Singh 2021-12-27 11:26:18 -08:00 committed by GitHub
parent 197ae9069f
commit b00b45b25d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ public class ClusterHealthIT extends OpenSearchIntegTestCase {
.prepareHealth()
.setWaitForEvents(Priority.LANGUID)
.setWaitForGreenStatus()
.setMasterNodeTimeout(TimeValue.timeValueMinutes(1))
.setMasterNodeTimeout(TimeValue.timeValueMinutes(2))
.execute()
);
internalCluster().restartNode(internalCluster().getMasterName(), InternalTestCluster.EMPTY_CALLBACK);