[TEST] Create the index with `number_of_replicas: 0` for "Realtime Refresh" tests

This commit is contained in:
Karel Minarik 2013-11-05 11:24:31 +01:00
parent afcc9d52ab
commit e051c8a663
3 changed files with 23 additions and 15 deletions

View File

@ -2,11 +2,13 @@
"Realtime Refresh": "Realtime Refresh":
- do: - do:
indices.create: indices.create:
index: test_1 index: test_1
body: body:
settings: settings:
index.refresh_interval: -1 index:
refresh_interval: -1
number_of_replicas: 0
- do: - do:
cluster.health: cluster.health:
wait_for_status: yellow wait_for_status: yellow

View File

@ -1,12 +1,15 @@
--- ---
"Realtime Refresh": "Realtime Refresh":
- do: - do:
indices.create: indices.create:
index: test_1 index: test_1
body: body:
settings: settings:
index.refresh_interval: -1 index:
refresh_interval: -1
number_of_replicas: 0
- do: - do:
cluster.health: cluster.health:
wait_for_status: yellow wait_for_status: yellow

View File

@ -1,12 +1,15 @@
--- ---
"Realtime Refresh": "Realtime Refresh":
- do: - do:
indices.create: indices.create:
index: test_1 index: test_1
body: body:
settings: settings:
index.refresh_interval: -1 index:
refresh_interval: -1
number_of_replicas: 0
- do: - do:
cluster.health: cluster.health:
wait_for_status: yellow wait_for_status: yellow