diff --git a/rest-api-spec/test/exists/60_realtime_refresh.yaml b/rest-api-spec/test/exists/60_realtime_refresh.yaml index debdd3b2d16..1025747a75c 100644 --- a/rest-api-spec/test/exists/60_realtime_refresh.yaml +++ b/rest-api-spec/test/exists/60_realtime_refresh.yaml @@ -9,9 +9,10 @@ index: refresh_interval: -1 number_of_replicas: 0 + - do: cluster.health: - wait_for_status: yellow + wait_for_status: green - do: index: diff --git a/rest-api-spec/test/get/60_realtime_refresh.yaml b/rest-api-spec/test/get/60_realtime_refresh.yaml index 214444c87be..4631bed0299 100644 --- a/rest-api-spec/test/get/60_realtime_refresh.yaml +++ b/rest-api-spec/test/get/60_realtime_refresh.yaml @@ -12,7 +12,7 @@ - do: cluster.health: - wait_for_status: yellow + wait_for_status: green - do: index: diff --git a/rest-api-spec/test/get_source/60_realtime_refresh.yaml b/rest-api-spec/test/get_source/60_realtime_refresh.yaml index 2e31bf1fb18..92f21caf8b4 100644 --- a/rest-api-spec/test/get_source/60_realtime_refresh.yaml +++ b/rest-api-spec/test/get_source/60_realtime_refresh.yaml @@ -8,10 +8,11 @@ body: settings: refresh_interval: -1 + number_of_replicas: 0 - do: cluster.health: - wait_for_status: yellow + wait_for_status: green - do: index: diff --git a/rest-api-spec/test/mget/60_realtime_refresh.yaml b/rest-api-spec/test/mget/60_realtime_refresh.yaml index 19570fd863e..c688b4b0e93 100644 --- a/rest-api-spec/test/mget/60_realtime_refresh.yaml +++ b/rest-api-spec/test/mget/60_realtime_refresh.yaml @@ -12,7 +12,7 @@ - do: cluster.health: - wait_for_status: yellow + wait_for_status: green - do: index: