summaryrefslogtreecommitdiff
path: root/rest-api-spec/test/delete/30_routing.yaml
blob: b0d3ca3885f6d0fb39c7a5504deb3e4669b866ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
"Routing":

 - do:
      index:
          index:   test_1
          type:    test
          id:      1
          routing: 5
          body:    { foo: bar }
 - do:
      cluster.health:
          wait_for_status: yellow

 - do:
      catch:      missing
      delete:
          index:   test_1
          type:    test
          id:      1
          routing: 4

 - do:
      delete:
          index:   test_1
          type:    test
          id:      1
          routing: 5