Skip to content

Commit

Permalink
Unskip test from #164856 (#166293)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson and kibanamachine authored Sep 13, 2023
1 parent dac736c commit 4457f67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions x-pack/test/api_integration/apis/search/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ export default function ({ getService }: FtrProviderContext) {
.expect(404);
});

// FLAKY: https://github.com/elastic/kibana/issues/164856
it.skip('should delete a completed search', async function () {
it('should delete a completed search', async function () {
await markRequiresShardDelayAgg(this);

const resp = await supertest
Expand All @@ -483,7 +482,7 @@ export default function ({ getService }: FtrProviderContext) {

await new Promise((resolve) => setTimeout(resolve, 3000));

await retry.tryForTime(10000, async () => {
await retry.tryForTime(30000, async () => {
const resp2 = await supertest
.post(`/internal/search/ese/${id}`)
.set(ELASTIC_HTTP_VERSION_HEADER, '1')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ export default function ({ getService }: FtrProviderContext) {
.expect(404);
});

// FLAKY: https://github.com/elastic/kibana/issues/164856
it.skip('should delete a completed search', async function () {
it('should delete a completed search', async function () {
await markRequiresShardDelayAgg(this);

const resp = await supertest
Expand Down Expand Up @@ -460,7 +459,7 @@ export default function ({ getService }: FtrProviderContext) {

await new Promise((resolve) => setTimeout(resolve, 3000));

await retry.tryForTime(10000, async () => {
await retry.tryForTime(30000, async () => {
const resp2 = await supertest
.post(`/internal/search/ese/${id}`)
.set(ELASTIC_HTTP_VERSION_HEADER, '1')
Expand Down

0 comments on commit 4457f67

Please sign in to comment.