Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Split one of the slow test suites up to try to make overall CI faster
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Sep 25, 2019
1 parent b9ba18e commit 1213239
Showing 1 changed file with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ export default function({ loadTestFile, getService }: TestInvoker) {
const supertest = getService('supertest');

describe('spaces api with security', function() {
this.tags('ciGroup8');

before(async () => {
await createUsersAndRoles(es, supertest);
});

loadTestFile(require.resolve('./copy_to_space'));
loadTestFile(require.resolve('./resolve_copy_to_space_conflicts'));
loadTestFile(require.resolve('./create'));
loadTestFile(require.resolve('./delete'));
loadTestFile(require.resolve('./get_all'));
loadTestFile(require.resolve('./get'));
loadTestFile(require.resolve('./select'));
loadTestFile(require.resolve('./update'));
describe('create, copy, update', () => {
this.tags('ciGroup1');
loadTestFile(require.resolve('./copy_to_space'));
loadTestFile(require.resolve('./resolve_copy_to_space_conflicts'));
loadTestFile(require.resolve('./create'));
loadTestFile(require.resolve('./update'));
});

describe('read, delete', () => {
this.tags('ciGroup8');
loadTestFile(require.resolve('./delete'));
loadTestFile(require.resolve('./get_all'));
loadTestFile(require.resolve('./get'));
loadTestFile(require.resolve('./select'));
});
});
}

0 comments on commit 1213239

Please sign in to comment.