Merge pull request elastic/elasticsearch#410 from clintongormley/bad_yaml

REST tests: Fix bad YAML

Original commit: elastic/x-pack-elasticsearch@9e06863983
This commit is contained in:
Clinton Gormley 2015-05-07 16:04:00 +02:00
commit 372c15e0c1
2 changed files with 9 additions and 7 deletions

View File

@ -38,11 +38,13 @@
wait_for_status: green
- do:
watcher.ack_watch:
id: "my_watch"
watcher.ack_watch:
id: "my_watch"
- match: { "status.ack.state" : "awaits_execution" }
- do:
watcher.delete_watch:
id: "my_watch"
watcher.delete_watch:
id: "my_watch"
- match: { found: true }

View File

@ -33,11 +33,11 @@
"doc_type": "test2"
}
}
}
}
}
- match: { _id: "my_watch" }
- do:
watcher.delete_watch:
id: "my_watch"
watcher.delete_watch:
id: "my_watch"
- match: { found: true }