Skip to content

Commit

Permalink
Re-enable session lifespan api integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Sep 17, 2020
1 parent d1a6e89 commit 5a8622b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ export default function ({ getService }: FtrProviderContext) {
describe('Session Idle cleanup', () => {
beforeEach(async () => {
await es.cluster.health({ index: '.kibana_security_session*', waitForStatus: 'green' });
await es.deleteByQuery({
await es.indices.delete({
index: '.kibana_security_session*',
q: '*',
waitForCompletion: true,
refresh: true,
ignore: [404],
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,11 @@ export default function ({ getService }: FtrProviderContext) {
return (await es.search({ index: '.kibana_security_session*' })).hits.total.value;
}

// FLAKY: https://github.com/elastic/kibana/issues/76223
describe.skip('Session Lifespan cleanup', () => {
describe('Session Lifespan cleanup', () => {
beforeEach(async () => {
await es.cluster.health({ index: '.kibana_security_session*', waitForStatus: 'green' });
await es.deleteByQuery({
await es.indices.delete({
index: '.kibana_security_session*',
q: '*',
waitForCompletion: true,
refresh: true,
ignore: [404],
});
});
Expand Down

0 comments on commit 5a8622b

Please sign in to comment.