mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Stack Monitoring] Fix logstash node_detail_mb test (#150346)
## Summary
closes #142642
This PR fixes the expected result for the node_detail_mb test.
One of the possible reasons why it failed is because this [PR changed
the cpu load_average fields type to
`half_float`](7ba1426c71
),
making the `logstash_os_load` metrics to be different from the expected
results.
This problem doesn't happen in 8.7, because, [among other things, this
PR updated the expected result, with the correct
values](https://github.com/elastic/kibana/pull/145351)
### How to test
```bash
node scripts/functional_test_runner --config x-pack/test/api_integration/config.ts --include x-pack/test/api_integration/apis/monitoring/logstash/node_detail_mb.js
```
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
355493b6e0
commit
3f3846c384
2 changed files with 38 additions and 39 deletions
|
@ -22,147 +22,147 @@
|
|||
"data": [
|
||||
[
|
||||
1655471940000,
|
||||
3
|
||||
3.84765625
|
||||
],
|
||||
[
|
||||
1655471950000,
|
||||
3
|
||||
3.703125
|
||||
],
|
||||
[
|
||||
1655471960000,
|
||||
3
|
||||
3.44140625
|
||||
],
|
||||
[
|
||||
1655471970000,
|
||||
3
|
||||
3.072265625
|
||||
],
|
||||
[
|
||||
1655471980000,
|
||||
2
|
||||
2.75390625
|
||||
],
|
||||
[
|
||||
1655471990000,
|
||||
2
|
||||
2.802734375
|
||||
],
|
||||
[
|
||||
1655472000000,
|
||||
2
|
||||
2.826171875
|
||||
],
|
||||
[
|
||||
1655472010000,
|
||||
2
|
||||
2.69921875
|
||||
],
|
||||
[
|
||||
1655472020000,
|
||||
2
|
||||
2.603515625
|
||||
],
|
||||
[
|
||||
1655472030000,
|
||||
2
|
||||
2.658203125
|
||||
],
|
||||
[
|
||||
1655472040000,
|
||||
2
|
||||
2.40234375
|
||||
],
|
||||
[
|
||||
1655472050000,
|
||||
2
|
||||
2.78125
|
||||
],
|
||||
[
|
||||
1655472060000,
|
||||
2
|
||||
2.5078125
|
||||
],
|
||||
[
|
||||
1655472070000,
|
||||
2
|
||||
2.201171875
|
||||
],
|
||||
[
|
||||
1655472080000,
|
||||
2
|
||||
2.08984375
|
||||
],
|
||||
[
|
||||
1655472090000,
|
||||
2
|
||||
2.08203125
|
||||
],
|
||||
[
|
||||
1655472100000,
|
||||
2
|
||||
2.0625
|
||||
],
|
||||
[
|
||||
1655472110000,
|
||||
2
|
||||
2.05859375
|
||||
],
|
||||
[
|
||||
1655472120000,
|
||||
1
|
||||
1.8154296875
|
||||
],
|
||||
[
|
||||
1655472130000,
|
||||
1
|
||||
1.9296875
|
||||
],
|
||||
[
|
||||
1655472140000,
|
||||
1
|
||||
1.712890625
|
||||
],
|
||||
[
|
||||
1655472150000,
|
||||
1
|
||||
1.990234375
|
||||
],
|
||||
[
|
||||
1655472160000,
|
||||
1
|
||||
1.837890625
|
||||
],
|
||||
[
|
||||
1655472170000,
|
||||
2
|
||||
2.390625
|
||||
],
|
||||
[
|
||||
1655472180000,
|
||||
2
|
||||
2.484375
|
||||
],
|
||||
[
|
||||
1655472190000,
|
||||
2
|
||||
2.5625
|
||||
],
|
||||
[
|
||||
1655472200000,
|
||||
2
|
||||
2.2421875
|
||||
],
|
||||
[
|
||||
1655472210000,
|
||||
2
|
||||
2.4453125
|
||||
],
|
||||
[
|
||||
1655472220000,
|
||||
2
|
||||
2.142578125
|
||||
],
|
||||
[
|
||||
1655472230000,
|
||||
2
|
||||
2.568359375
|
||||
],
|
||||
[
|
||||
1655472240000,
|
||||
3
|
||||
3.408203125
|
||||
],
|
||||
[
|
||||
1655472250000,
|
||||
3
|
||||
3.271484375
|
||||
],
|
||||
[
|
||||
1655472260000,
|
||||
2
|
||||
2.99609375
|
||||
],
|
||||
[
|
||||
1655472270000,
|
||||
2
|
||||
2.85546875
|
||||
],
|
||||
[
|
||||
1655472280000,
|
||||
2
|
||||
2.796875
|
||||
],
|
||||
[
|
||||
1655472290000,
|
||||
2
|
||||
2.75390625
|
||||
]
|
||||
]
|
||||
},
|
||||
|
@ -1520,4 +1520,4 @@
|
|||
},
|
||||
"uptime": 407358
|
||||
}
|
||||
}
|
||||
}
|
|
@ -13,8 +13,7 @@ export default function ({ getService }) {
|
|||
const supertest = getService('supertest');
|
||||
const esArchiver = getService('esArchiver');
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/142642
|
||||
describe.skip('node detail mb', () => {
|
||||
describe('node detail mb', () => {
|
||||
const archive = 'x-pack/test/api_integration/apis/monitoring/es_archives/logstash_8';
|
||||
const timeRange = {
|
||||
min: '2022-06-17T13:19:00.000Z',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue