Skip to content

Commit

Permalink
[ML] Fix data visualizer API test
Browse files Browse the repository at this point in the history
  • Loading branch information
peteharverson committed Sep 8, 2020
1 parent 93beeac commit b458e3d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export default ({ getService }: FtrProviderContext) => {
],
samplerShardSize: -1, // No sampling, as otherwise counts could vary on each run.
timeFieldName: '@timestamp',
interval: '1d',
interval: 86400000,
maxExamples: 10,
},
expected: {
responseCode: 200,
responseBody: [
{
documentCounts: {
interval: '1d',
interval: 86400000,
buckets: {
'1454803200000': 846,
'1454889600000': 846,
Expand Down Expand Up @@ -145,6 +145,7 @@ export default ({ getService }: FtrProviderContext) => {
],
samplerShardSize: -1, // No sampling, as otherwise counts could vary on each run.
timeFieldName: '@timestamp',
interval: 86400000,
maxExamples: 10,
},
expected: {
Expand Down

0 comments on commit b458e3d

Please sign in to comment.