[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":
- do:
indices.create:
index: test_1
body:
settings:
index.refresh_interval: -1
indices.create:
index: test_1
body:
settings:
index:
refresh_interval: -1
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow

View File

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

View File

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