浏览代码

Add comment to explain flexible assertion in indices rollover IT

Dimitrios Athanasiou 9 年之前
父节点
当前提交
dbbba8ffbe
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml

+ 2 - 0
rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml

@@ -124,6 +124,7 @@
         index: logs-000002
 
   - do:
+      # index_already_exists_exception was renamed to resource_arleady_exists_exception in 6.0
       catch: /(index|resource)_already_exists_exception/
       indices.rollover:
         dry_run: true
@@ -135,6 +136,7 @@
 
   # also do it without dry_run
   - do:
+      # index_already_exists_exception was renamed to resource_arleady_exists_exception in 6.0
       catch: /(index|resource)_already_exists_exception/
       indices.rollover:
         dry_run: false