Skip to content

Commit

Permalink
[8.9] Increase timeout for costly ".kibana split" integration test (e…
Browse files Browse the repository at this point in the history
…lastic#160631) (elastic#161078)

# Backport

This will backport the following commits from `main` to `8.9`:
- [Increase timeout for costly ".kibana split" integration test
(elastic#160631)](elastic#160631)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-03T10:38:13Z","message":"Increase
timeout for costly \".kibana split\" integration test
(elastic#160631)\n\nTackles
https://github.com/elastic/kibana/issues/157510\r\n\r\nNothing's wrong
with the test, it's only that it's a bit costly, as it\r\nmigrates a
100k SO archive.\r\n\r\nThis PR simply increases the timeout for the
conflicting
test.","sha":"646d2e897e92471ea29448ca6a792181ed699e99","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","test-failure-flaky","Feature:Migrations","backport:prev-minor","v8.9.0","v8.10.0"],"number":160631,"url":"https://github.com/elastic/kibana/pull/160631","mergeCommit":{"message":"Increase
timeout for costly \".kibana split\" integration test
(elastic#160631)\n\nTackles
https://github.com/elastic/kibana/issues/157510\r\n\r\nNothing's wrong
with the test, it's only that it's a bit costly, as it\r\nmigrates a
100k SO archive.\r\n\r\nThis PR simply increases the timeout for the
conflicting
test.","sha":"646d2e897e92471ea29448ca6a792181ed699e99"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160631","number":160631,"mergeCommit":{"message":"Increase
timeout for costly \".kibana split\" integration test
(elastic#160631)\n\nTackles
https://github.com/elastic/kibana/issues/157510\r\n\r\nNothing's wrong
with the test, it's only that it's a bit costly, as it\r\nmigrates a
100k SO archive.\r\n\r\nThis PR simply increases the timeout for the
conflicting test.","sha":"646d2e897e92471ea29448ca6a792181ed699e99"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <[email protected]>
  • Loading branch information
kibanamachine and gsoldevila authored Jul 3, 2023
1 parent d2791ed commit a6eaad1
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,8 @@ describe('split .kibana index into multiple system indices', () => {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/157510
// This test takes too long. Can be manually executed to verify the correct behavior.
describe.skip('when multiple Kibana migrators run in parallel', () => {
describe('when multiple Kibana migrators run in parallel', () => {
jest.setTimeout(1200000);
it('correctly migrates 7.7.2_xpack_100k_obj.zip archive', async () => {
esServer = await startElasticsearch({
dataArchive: Path.join(__dirname, '..', 'archives', '7.7.2_xpack_100k_obj.zip'),
Expand Down Expand Up @@ -491,7 +490,7 @@ describe('split .kibana index into multiple system indices', () => {
task: 5,
},
});
}, 1200000);
});

afterEach(async () => {
await esServer?.stop();
Expand Down

0 comments on commit a6eaad1

Please sign in to comment.