mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[SECURITY_SOLUTION] unskip tests after fixing Kibana and package (#78954)
This commit is contained in:
parent
27039e5c0a
commit
2377d12e7d
8 changed files with 16 additions and 22 deletions
|
@ -2,7 +2,7 @@
|
|||
"type": "doc",
|
||||
"value": {
|
||||
"id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA",
|
||||
"index": "metrics-endpoint.metadata_current-default",
|
||||
"index": "metrics-endpoint.metadata_current_default",
|
||||
"source": {
|
||||
"HostDetails": {
|
||||
"@timestamp": 1579881969541,
|
||||
|
@ -75,7 +75,7 @@
|
|||
"type": "doc",
|
||||
"value": {
|
||||
"id": "OU3RgCJaNnR90byeDEHutp8AAAAAAAAA",
|
||||
"index": "metrics-endpoint.metadata_current-default",
|
||||
"index": "metrics-endpoint.metadata_current_default",
|
||||
"source": {
|
||||
"HostDetails": {
|
||||
"@timestamp": 1579881969541,
|
||||
|
@ -151,7 +151,7 @@
|
|||
"type": "doc",
|
||||
"value": {
|
||||
"id": "YjqDCEuI6JmLeLOSyZx_NhMAAAAAAAAA",
|
||||
"index": "metrics-endpoint.metadata_current-default",
|
||||
"index": "metrics-endpoint.metadata_current_default",
|
||||
"source": {
|
||||
"HostDetails": {
|
||||
"@timestamp": 1579881969541,
|
||||
|
|
|
@ -29,8 +29,7 @@ export default function (providerContext: FtrProviderContext) {
|
|||
.send({ force: true });
|
||||
};
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
|
||||
describe.skip('installs and uninstalls all assets', async () => {
|
||||
describe('installs and uninstalls all assets', async () => {
|
||||
describe('installs all assets when installing a package for the first time', async () => {
|
||||
skipIfNoDockerRegistry(providerContext);
|
||||
before(async () => {
|
||||
|
@ -88,7 +87,7 @@ export default function (providerContext: FtrProviderContext) {
|
|||
it('should have installed the transform components', async function () {
|
||||
const res = await es.transport.request({
|
||||
method: 'GET',
|
||||
path: `/_transform/${pkgName}-test-default-${pkgVersion}`,
|
||||
path: `/_transform/${pkgName}.test-default-${pkgVersion}`,
|
||||
});
|
||||
expect(res.statusCode).equal(200);
|
||||
});
|
||||
|
@ -170,7 +169,7 @@ export default function (providerContext: FtrProviderContext) {
|
|||
type: 'index_template',
|
||||
},
|
||||
{
|
||||
id: 'logs-all_assets.test_logs-default-0.1.0',
|
||||
id: 'all_assets.test-default-0.1.0',
|
||||
type: 'transform',
|
||||
},
|
||||
],
|
||||
|
|
|
@ -32,8 +32,7 @@ export default function (providerContext: FtrProviderContext) {
|
|||
.send({ force: true });
|
||||
};
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
|
||||
describe.skip('updates all assets when updating a package to a different version', async () => {
|
||||
describe('updates all assets when updating a package to a different version', async () => {
|
||||
skipIfNoDockerRegistry(providerContext);
|
||||
before(async () => {
|
||||
await installPackage(pkgKey);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"index": "logs-all_assets.test_log-default*"
|
||||
},
|
||||
"dest": {
|
||||
"index": "logs-all_assets.test_log_current-default"
|
||||
"index": "logs-all_assets.test_log_current_default"
|
||||
},
|
||||
"pivot": {
|
||||
"group_by": {
|
||||
|
|
|
@ -12,7 +12,7 @@ import { defineDockerServersConfig } from '@kbn/test';
|
|||
// Docker image to use for Ingest Manager API integration tests.
|
||||
// This hash comes from the commit hash here: https://github.com/elastic/package-storage/commit
|
||||
export const dockerImage =
|
||||
'docker.elastic.co/package-registry/distribution:5e0e12ce1bc2cb0c2f67f2e07d11b9a6043bcf25';
|
||||
'docker.elastic.co/package-registry/distribution:518a65a993ab7e9c77b1d8d20cd6f847921d04ec';
|
||||
|
||||
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
||||
const xPackAPITestsConfig = await readConfigFile(require.resolve('../api_integration/config.ts'));
|
||||
|
|
|
@ -64,8 +64,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
],
|
||||
];
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/72102
|
||||
describe.skip('endpoint list', function () {
|
||||
describe('endpoint list', function () {
|
||||
this.tags('ciGroup7');
|
||||
const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
|
||||
|
||||
|
@ -85,8 +84,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
|
||||
it('finds data after load and polling', async () => {
|
||||
await esArchiver.load('endpoint/metadata/api_feature', { useCreate: true });
|
||||
await pageObjects.endpoint.waitForTableToHaveData('endpointListTable', 100000);
|
||||
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);
|
||||
});
|
||||
|
@ -94,8 +93,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
|
||||
describe('when there is data,', () => {
|
||||
before(async () => {
|
||||
await esArchiver.load('endpoint/metadata/api_feature', { useCreate: true });
|
||||
await sleep(100000);
|
||||
await esArchiver.load('endpoint/metadata/destination_index', { useCreate: true });
|
||||
await pageObjects.endpoint.navigateToEndpointList();
|
||||
});
|
||||
after(async () => {
|
||||
|
@ -212,7 +210,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
|
||||
describe('displays the correct table data for the kql queries', () => {
|
||||
before(async () => {
|
||||
await esArchiver.load('endpoint/metadata/api_feature', { useCreate: true });
|
||||
await esArchiver.load('endpoint/metadata/destination_index', { useCreate: true });
|
||||
await pageObjects.endpoint.navigateToEndpointList();
|
||||
});
|
||||
after(async () => {
|
||||
|
|
|
@ -18,8 +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', () => {
|
||||
describe('artifact download', () => {
|
||||
before(async () => {
|
||||
await esArchiver.load('endpoint/artifacts/api_feature', { useCreate: true });
|
||||
|
||||
|
|
|
@ -22,8 +22,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('test metadata api', () => {
|
||||
describe(`POST ${METADATA_REQUEST_ROUTE} when index is empty`, () => {
|
||||
it('metadata api should return empty result when index is empty', async () => {
|
||||
await deleteMetadataStream(getService);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue