[Monitoring] Fix broken api integration test (#24076)

* Fix broken api integration test

* Fix other test as well
This commit is contained in:
Chris Roberson 2018-10-22 20:16:18 -04:00 committed by GitHub
parent 713ecc1e64
commit c38dbaa678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -658,8 +658,8 @@
},
"data": [
[1535723880000, null],
[1535723910000, 0],
[1535723940000, 0]
[1535723910000, 12],
[1535723940000, 8]
]
}, {
"bucket_size": "30 seconds",

View file

@ -649,7 +649,7 @@
},
"data": [
[1535723880000, null],
[1535723910000, 0],
[1535723910000, 4],
[1535723940000, 0]
]
}, {

View file

@ -26,7 +26,7 @@ export default function ({ getService }) {
return esArchiver.unload(archive);
});
it.skip('should summarize beat with metrics', async () => {
it('should get apm instance data', async () => {
const { body } = await supertest
.post('/api/monitoring/v1/clusters/GUtE4UwgSR-XUICRDEFKkA/apm/9b16f434-2092-4983-a401-80a2b61c79d6')
.set('kbn-xsrf', 'xxx')

View file

@ -25,7 +25,7 @@ export default function ({ getService }) {
return esArchiver.unload(archive);
});
it.skip('should load multiple clusters', async () => {
it('should load multiple clusters', async () => {
const { body } = await supertest
.post(
'/api/monitoring/v1/clusters/GUtE4UwgSR-XUICRDEFKkA/apm/instances'

View file

@ -26,7 +26,7 @@ export default function ({ getService }) {
return esArchiver.unload(archive);
});
it.skip('should summarize apm cluster with metrics', async () => {
it('should summarize apm cluster with metrics', async () => {
const { body } = await supertest
.post('/api/monitoring/v1/clusters/GUtE4UwgSR-XUICRDEFKkA/apm')
.set('kbn-xsrf', 'xxx')