Tests: Remove is_true check in REST test

If the duration time was 0 (and this might happen due to
using System.currentTimeMillis), the is_true check
still returns false.

The correct fix will be done later to replace the offending
measurement calls and replace them. Then we can add back this
line.

Original commit: elastic/x-pack-elasticsearch@076a9a37cc
This commit is contained in:
Alexander Reelsen 2017-08-30 14:04:24 +02:00
parent 58d16c3579
commit 200cb6a5b3
1 changed files with 0 additions and 1 deletions

View File

@ -61,7 +61,6 @@ teardown:
- match: { watch_record.status.state.active: true }
- is_true: watch_record.node
- match: { watch_record.status.actions.indexme.ack.state: "ackable" }
- is_true: watch_record.result.execution_duration
---
"Test execute watch API with user supplied watch":