Skip to content

Commit

Permalink
[kbn-es] Increase ready timeout to two minutes (elastic#169331)
Browse files Browse the repository at this point in the history
Average start times of serverless ES are near one minute, and in [some
cases exceeding the
limit](https://buildkite.com/elastic/kibana-on-merge/builds/37049#018b44ec-832c-48be-a5b9-93e9c42e1db7/243-1554).

This increases the limit to two minutes
  • Loading branch information
jbudz authored Oct 19, 2023
1 parent 0366351 commit e1f554b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-es/src/utils/wait_until_cluster_ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { Client } from '@elastic/elasticsearch';
import { HealthStatus } from '@elastic/elasticsearch/lib/api/types';
import { ToolingLog } from '@kbn/tooling-log';
const DEFAULT_READY_TIMEOUT = 60 * 1000; // 1 minute
const DEFAULT_READY_TIMEOUT = 120 * 1000; // 2 minutes

export type ClusterReadyStatus = 'green' | 'yellow';
export interface WaitOptions {
Expand Down

0 comments on commit e1f554b

Please sign in to comment.