kibana/x-pack/test/api_integration/apis/uptime/index.js
Justin Kambic 8fe63eb07f
[Uptime] Fix flaky behavior and re-enable Uptime API tests (#32819) (#33180)
* Attempt to fix issue causing flaky behavior in uptime API tests.

* run x-pack-intake group 20 times to test flakiness

* Revert "run x-pack-intake group 20 times to test flakiness"

This reverts commit ad2e8c7003.
2019-03-13 18:51:25 -04:00

20 lines
578 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
export default function ({ getService, loadTestFile }) {
const es = getService('es');
describe('uptime', () => {
before(() =>
es.indices.delete({
index: 'heartbeat*',
ignore: [404],
}));
loadTestFile(require.resolve('./get_all_pings'));
loadTestFile(require.resolve('./graphql'));
});
}