Fix REST test for ip range aggregations.

Relates to #22018
This commit is contained in:
Adrien Grand 2016-12-08 17:54:46 +01:00
parent 0f7c20ae81
commit 8fe4bc1b74
1 changed files with 2 additions and 4 deletions

View File

@ -210,9 +210,7 @@ setup:
- match: { aggregations.ip_range.buckets.0.key: "::/24" }
- match: { aggregations.ip_range.buckets.0.from: "::" }
- match: { aggregations.ip_range.buckets.0.to: "0:ff:ffff:ffff:ffff:ffff:ffff:ffff" }
- match: { aggregations.ip_range.buckets.0.to: "0:100::" }
- match: { aggregations.ip_range.buckets.0.doc_count: 3 }
@ -220,7 +218,7 @@ setup:
- match: { aggregations.ip_range.buckets.1.from: "192.168.0.0" }
- match: { aggregations.ip_range.buckets.1.to: "192.168.255.255" }
- match: { aggregations.ip_range.buckets.1.to: "192.169.0.0" }
- match: { aggregations.ip_range.buckets.1.doc_count: 2 }