浏览代码

relax trigger count for transform stats test (#43753)

relax trigger count test as we can not guarantee it due to async behaviour
Hendrik Muhs 6 年之前
父节点
当前提交
6408f40fd8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      x-pack/plugin/src/test/resources/rest-api-spec/test/data_frame/transforms_stats.yml

+ 1 - 1
x-pack/plugin/src/test/resources/rest-api-spec/test/data_frame/transforms_stats.yml

@@ -53,7 +53,7 @@ teardown:
   - lte: { transforms.0.stats.pages_processed: 1 }
   - match: { transforms.0.stats.documents_processed: 0 }
   - match: { transforms.0.stats.documents_indexed: 0 }
-  - match: { transforms.0.stats.trigger_count: 1 }
+  - lte: { transforms.0.stats.trigger_count: 1 }
   - match: { transforms.0.stats.index_time_in_ms: 0 }
   - match: { transforms.0.stats.index_total: 0 }
   - match: { transforms.0.stats.index_failures: 0 }