[CI] Split up Default CI Group 11 and 25 a bit (#130998)

This commit is contained in:
Brian Seeders 2022-04-26 17:46:17 -04:00 committed by GitHub
parent d371f3aaee
commit e9328920e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 11 deletions

View file

@ -11,8 +11,6 @@ import { createSpacesAndUsers, deleteSpacesAndUsers } from '../../../common/lib/
// eslint-disable-next-line import/no-default-export
export default ({ loadTestFile, getService }: FtrProviderContext): void => {
describe('cases security and spaces enabled: trial', function () {
this.tags('ciGroup25');
before(async () => {
await createSpacesAndUsers(getService);
});
@ -21,15 +19,23 @@ export default ({ loadTestFile, getService }: FtrProviderContext): void => {
await deleteSpacesAndUsers(getService);
});
// Trial
loadTestFile(require.resolve('./cases/push_case'));
loadTestFile(require.resolve('./cases/user_actions/get_all_user_actions'));
loadTestFile(require.resolve('./configure'));
describe('', function () {
this.tags('ciGroup13');
// Common
loadTestFile(require.resolve('../common'));
// Trial
loadTestFile(require.resolve('./cases/push_case'));
loadTestFile(require.resolve('./cases/user_actions/get_all_user_actions'));
loadTestFile(require.resolve('./configure'));
});
// NOTE: These need to be at the end because they could delete the .kibana index and inadvertently remove the users and spaces
loadTestFile(require.resolve('../common/migrations'));
describe('', function () {
this.tags('ciGroup25');
// Common
loadTestFile(require.resolve('../common'));
// NOTE: These need to be at the end because they could delete the .kibana index and inadvertently remove the users and spaces
loadTestFile(require.resolve('../common/migrations'));
});
});
};

View file

@ -14,7 +14,6 @@ export default ({ loadTestFile }: FtrProviderContext): void => {
this.tags('ciGroup11');
loadTestFile(require.resolve('./aliases'));
loadTestFile(require.resolve('./create_endpoint_exceptions'));
loadTestFile(require.resolve('./add_actions'));
loadTestFile(require.resolve('./update_actions'));
loadTestFile(require.resolve('./add_prepackaged_rules'));
@ -54,6 +53,12 @@ export default ({ loadTestFile }: FtrProviderContext): void => {
loadTestFile(require.resolve('./migrations'));
});
describe('', function () {
this.tags('ciGroup26');
loadTestFile(require.resolve('./create_endpoint_exceptions'));
});
describe('', function () {
this.tags('ciGroup14');