Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.17] [FTR - esArchiver] Update saved_objects_management test archives to reduce flakiness (#162259) #163479

Merged
merged 4 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default function ({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');

// Failing: See https://github.com/elastic/kibana/issues/132855
describe.skip('find', () => {
describe('find', () => {
let KIBANA_VERSION: string;

before(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ const defaultTypes = ['visualization', 'index-pattern', 'search', 'dashboard'];

export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertest') as SuperTest<Test>;
const kibanaServer = getService('kibanaServer');
const esArchiver = getService('esArchiver');

describe('scroll_count', () => {
// FLAKY AND FAILING FORWARD ES COMPATIBILITY 8.7: https://github.com/elastic/kibana/issues/130305
describe.skip('with less than 10k objects', () => {
describe('with less than 10k objects', () => {
before(async () => {
await kibanaServer.savedObjects.cleanStandardList();
await esArchiver.load(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
);
Expand All @@ -29,6 +30,7 @@ export default function ({ getService }: FtrProviderContext) {
await esArchiver.unload(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
);
await kibanaServer.savedObjects.cleanStandardList();
});

it('returns the count for each included types', async () => {
Expand Down
Loading