[8.9] Unskips tests related to no_shard_available failures (#161109) (#161472)

# Backport

This will backport the following commits from `main` to `8.9`:
- [Unskips tests related to no_shard_available failures
(#161109)](https://github.com/elastic/kibana/pull/161109)

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

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2023-07-07T15:34:47Z","message":"Unskips
tests related to no_shard_available failures
(#161109)\n\nCloses\r\n#155723,#155846,#156045,#156041,#156074,#156130,#156151,#156739,#157673,#156422,#156998,#156922,#156921,#157452,#158366,#158586,#158711\r\n\r\n##
Summary\r\n\r\nIssue was resolved by PR #160584. This PR unskips saved
object tests\r\ndocumented as skipped in #158918.\r\n\r\n###
Testing\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2543","sha":"4fc4ded06bc2289c4506941d07942952cef29657","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","test-failure-flaky","backport:prev-minor","v8.9.0","v8.10.0"],"number":161109,"url":"https://github.com/elastic/kibana/pull/161109","mergeCommit":{"message":"Unskips
tests related to no_shard_available failures
(#161109)\n\nCloses\r\n#155723,#155846,#156045,#156041,#156074,#156130,#156151,#156739,#157673,#156422,#156998,#156922,#156921,#157452,#158366,#158586,#158711\r\n\r\n##
Summary\r\n\r\nIssue was resolved by PR #160584. This PR unskips saved
object tests\r\ndocumented as skipped in #158918.\r\n\r\n###
Testing\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2543","sha":"4fc4ded06bc2289c4506941d07942952cef29657"}},"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/161109","number":161109,"mergeCommit":{"message":"Unskips
tests related to no_shard_available failures
(#161109)\n\nCloses\r\n#155723,#155846,#156045,#156041,#156074,#156130,#156151,#156739,#157673,#156422,#156998,#156922,#156921,#157452,#158366,#158586,#158711\r\n\r\n##
Summary\r\n\r\nIssue was resolved by PR #160584. This PR unskips saved
object tests\r\ndocumented as skipped in #158918.\r\n\r\n###
Testing\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2543","sha":"4fc4ded06bc2289c4506941d07942952cef29657"}}]}]
BACKPORT-->

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
This commit is contained in:
Kibana Machine 2023-07-07 12:40:43 -04:00 committed by GitHub
parent 775c816a08
commit 40d06d1c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 12 deletions

View file

@ -17,10 +17,7 @@ export default function getSpaceTestSuite({ getService }: FtrProviderContext) {
const { getTest, createExpectResults, createExpectNotFoundResult, nonExistantSpaceId } =
getTestSuiteFactory(esArchiver, supertestWithoutAuth);
// Failing: See https://github.com/elastic/kibana/issues/155723, https://github.com/elastic/kibana/issues/156422
// Also, https://github.com/elastic/kibana/issues/158918
// esArchiver fails with no_shard_available_action_exception after deleting indexes
describe.skip('get', () => {
describe('get', () => {
// valid spaces
[
{

View file

@ -17,10 +17,7 @@ export default function updateSpaceTestSuite({ getService }: FtrProviderContext)
const { updateTest, expectAlreadyExistsResult, expectDefaultSpaceResult, expectNotFound } =
updateTestSuiteFactory(esArchiver, supertestWithoutAuth);
// FLAKY: https://github.com/elastic/kibana/issues/156130, https://github.com/elastic/kibana/issues/156074
// Also, https://github.com/elastic/kibana/issues/158918
// esArchiver fails with no_shard_available_action_exception after deleting indexes
describe.skip('update', () => {
describe('update', () => {
[
{
spaceId: SPACES.DEFAULT.spaceId,

View file

@ -183,10 +183,7 @@ export default function ({ getService }: FtrProviderContext) {
return createTestDefinitions(testCases, false);
};
// FLAKY: https://github.com/elastic/kibana/issues/156739, https://github.com/elastic/kibana/issues/157673
// Also, https://github.com/elastic/kibana/issues/158918
// esArchiver fails with no_shard_available_action_exception after deleting indexes
describe.skip('_update_objects_spaces', () => {
describe('_update_objects_spaces', () => {
getTestScenarios().spaces.forEach(({ spaceId }) => {
const tests = createSinglePartTests(spaceId);
addTests(`targeting the ${spaceId} space`, { spaceId, tests });