Skip to content

Commit

Permalink
[Security Solution] unskip endpoint functional tests (elastic#116861)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeypoon authored and fkanout committed Nov 17, 2021
1 parent bf7af5f commit c7170f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion x-pack/test/fleet_api_integration/apis/epm/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:/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')
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/fleet_api_integration/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {
export default function (providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;

// FAILING: https:/elastic/kibana/issues/72874
describe.skip('endpoint', function () {
describe('endpoint', function () {
const ingestManager = getService('ingestManager');
const log = getService('log');
const endpointTestResources = getService('endpointTestResources');
Expand Down

0 comments on commit c7170f7

Please sign in to comment.