Просмотр исходного кода

[TEST] MLT Rest test needs a mapping since we randomized number of nodes/shards

Simon Willnauer 11 лет назад
Родитель
Сommit
a9c8624c67
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      rest-api-spec/test/mlt/10_basic.yaml

+ 7 - 0
rest-api-spec/test/mlt/10_basic.yaml

@@ -7,6 +7,13 @@
          settings:
            index:
              number_of_replicas: 0
+         mappings:
+           test:
+             properties:
+               foo:
+                 type : "string"
+               title:
+                 type : "string"
 
   - do:
       index: