瀏覽代碼

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

Simon Willnauer 11 年之前
父節點
當前提交
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: