[Security Solution] unskip endpoint functional tests (#116861) (#118377)

Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-11 12:10:06 -05:00 committed by GitHub
parent 75e5f32acb
commit 178fff209e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View file

@ -24,8 +24,10 @@ export default function (providerContext: FtrProviderContext) {
describe('setup performs upgrades', async () => {
const oldEndpointVersion = '0.13.0';
beforeEach(async () => {
const url = '/api/fleet/epm/packages/endpoint';
await supertest.delete(url).set('kbn-xsrf', 'xxxx').send({ force: true }).expect(200);
await supertest
.post(`/api/fleet/epm/packages/endpoint-${oldEndpointVersion}`)
.post(`${url}-${oldEndpointVersion}`)
.set('kbn-xsrf', 'xxxx')
.send({ force: true })
.expect(200);

View file

@ -199,7 +199,8 @@ export default function (providerContext: FtrProviderContext) {
.expect(400);
});
it('should not allow multiple limited packages on the same agent policy', async function () {
// https://github.com/elastic/kibana/issues/118257
it.skip('should not allow multiple limited packages on the same agent policy', async function () {
await supertest
.post(`/api/fleet/package_policies`)
.set('kbn-xsrf', 'xxxx')

View file

@ -15,7 +15,7 @@ import { defineDockerServersConfig } from '@kbn/test';
// example: https://beats-ci.elastic.co/blue/organizations/jenkins/Ingest-manager%2Fpackage-storage/detail/snapshot/74/pipeline/257#step-302-log-1.
// It should be updated any time there is a new Docker image published for the Snapshot Distribution of the Package Registry.
export const dockerImage =
'docker.elastic.co/package-registry/distribution@sha256:42dbdbb7fbc7ea61d0c38c0df6dad977ca2ad9cf01e247543054377aef33d377';
'docker.elastic.co/package-registry/distribution@sha256:13d9996dd24161624784704e080f5f5b7f0ef34ff0d9259f8f05010ccae00058';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const xPackAPITestsConfig = await readConfigFile(require.resolve('../api_integration/config.ts'));

View file

@ -15,8 +15,7 @@ import {
export default function (providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;
// FAILING: https://github.com/elastic/kibana/issues/72874
describe.skip('endpoint', function () {
describe('endpoint', function () {
const ingestManager = getService('ingestManager');
const log = getService('log');
const endpointTestResources = getService('endpointTestResources');