Skip to content

Commit

Permalink
Regenerate archive data for better varability
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Sep 1, 2021
1 parent ff106fd commit 3cabd63
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
6 changes: 3 additions & 3 deletions x-pack/test/functional/apps/observability/alerts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { FtrProviderContext } from '../../../ftr_provider_context';

// Based on the x-pack/test/functional/es_archives/observability/alerts archive.
const DATE_WITH_DATA = {
rangeFrom: '2021-08-23T13:36:22.109Z',
rangeTo: '2021-08-25T13:36:22.109Z',
rangeFrom: '2021-08-31T13:36:22.109Z',
rangeTo: '2021-09-01T13:36:22.109Z',
};

export default ({ getPageObjects, getService }: FtrProviderContext) => {
Expand Down Expand Up @@ -45,7 +45,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
it('Renders the correct number of cells', async () => {
// NOTE: This isn't ideal, but EuiDataGrid doesn't really have the concept of "rows"
const cells = await testSubjects.findAll('dataGridRowCell');
expect(cells.length).to.be(140);
expect(cells.length).to.be(54);
});
});
});
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
"is_write_index": true
}
},
"index": ".alerts-observability.apm.alerts-default-000001",
"index": ".internal.alerts-observability.apm.alerts-default-000001",
"mappings": {
"_meta": {
"kibana": {
"version": "8.0.0"
},
"namespace": "default"
},
"dynamic": "strict",
"properties": {
"@timestamp": {
Expand Down Expand Up @@ -206,7 +212,7 @@
"type": "keyword"
},
"version": {
"type": "keyword"
"type": "version"
}
}
},
Expand Down Expand Up @@ -260,8 +266,14 @@
"is_write_index": true
}
},
"index": ".alerts-observability.logs.alerts-default-000001",
"index": ".internal.alerts-observability.logs.alerts-default-000001",
"mappings": {
"_meta": {
"kibana": {
"version": "8.0.0"
},
"namespace": "default"
},
"dynamic": "strict",
"properties": {
"@timestamp": {
Expand Down Expand Up @@ -460,7 +472,7 @@
"type": "keyword"
},
"version": {
"type": "keyword"
"type": "version"
}
}
},
Expand Down Expand Up @@ -490,8 +502,14 @@
"is_write_index": true
}
},
"index": ".alerts-observability.metrics.alerts-default-000001",
"index": ".internal.alerts-observability.metrics.alerts-default-000001",
"mappings": {
"_meta": {
"kibana": {
"version": "8.0.0"
},
"namespace": "default"
},
"dynamic": "strict",
"properties": {
"@timestamp": {
Expand Down Expand Up @@ -690,7 +708,7 @@
"type": "keyword"
},
"version": {
"type": "keyword"
"type": "version"
}
}
},
Expand Down

0 comments on commit 3cabd63

Please sign in to comment.