Skip to content

Commit

Permalink
[CI] Balance ci groups (#110711) (#113164)
Browse files Browse the repository at this point in the history
# Conflicts:
#	test/functional/apps/visualize/index.ts
#	x-pack/test/functional/config.js
  • Loading branch information
brianseeders authored Sep 27, 2021
1 parent 7194c68 commit 0a8a334
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 8 deletions.
7 changes: 6 additions & 1 deletion test/functional/apps/visualize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,18 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
loadTestFile(require.resolve('./_region_map'));
});

describe('visualize ciGroup8', function () {
this.tags('ciGroup8');

loadTestFile(require.resolve('./_tsvb_chart'));
});

describe('visualize ciGroup11', function () {
this.tags('ciGroup11');

loadTestFile(require.resolve('./_tag_cloud'));
loadTestFile(require.resolve('./_vertical_bar_chart'));
loadTestFile(require.resolve('./_vertical_bar_chart_nontimeindex'));
loadTestFile(require.resolve('./_tsvb_chart'));
loadTestFile(require.resolve('./_tsvb_time_series'));
loadTestFile(require.resolve('./_tsvb_markdown'));
loadTestFile(require.resolve('./_tsvb_table'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { createSpacesAndUsers, deleteSpacesAndUsers } from '../../../common/lib/
export default ({ loadTestFile, getService }: FtrProviderContext): void => {
describe('cases security and spaces enabled: basic', function () {
// Fastest ciGroup for the moment.
this.tags('ciGroup5');
this.tags('ciGroup13');

before(async () => {
await createSpacesAndUsers(getService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { createSpacesAndUsers, deleteSpacesAndUsers } from '../../../common/lib/
export default ({ loadTestFile, getService }: FtrProviderContext): void => {
describe('cases security and spaces enabled: trial', function () {
// Fastest ciGroup for the moment.
this.tags('ciGroup5');
this.tags('ciGroup13');

before(async () => {
await createSpacesAndUsers(getService);
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/apm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ loadTestFile }: FtrProviderContext) {
describe('APM specs', function () {
this.tags('ciGroup6');
this.tags('ciGroup10');
loadTestFile(require.resolve('./feature_controls'));
loadTestFile(require.resolve('./correlations'));
});
Expand Down
6 changes: 5 additions & 1 deletion x-pack/test/functional/apps/lens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) {
await esArchiver.unload('x-pack/test/functional/es_archives/lens/basic');
});

describe('', function () {
this.tags(['ciGroup3', 'skipFirefox']);
loadTestFile(require.resolve('./smokescreen'));
});

describe('', function () {
this.tags(['ciGroup4', 'skipFirefox']);

loadTestFile(require.resolve('./smokescreen'));
loadTestFile(require.resolve('./add_to_dashboard'));
loadTestFile(require.resolve('./table'));
loadTestFile(require.resolve('./runtime_fields'));
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/uptime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default ({ loadTestFile, getService }: FtrProviderContext) => {
const uptime = getService('uptime');

describe('Uptime app', function () {
this.tags('ciGroup6');
this.tags('ciGroup10');

beforeEach('delete settings', async () => {
await deleteUptimeSettingsObject(server);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
});

describe('When on the Synthetics Integration Policy Create Page', function () {
this.tags(['ciGroup6']);
this.tags(['ciGroup10']);
const basicConfig = {
name: monitorName,
apmServiceName: 'Sample APM Service',
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default async function ({ readConfigFile }) {
resolve(__dirname, './apps/discover'),
resolve(__dirname, './apps/security'),
resolve(__dirname, './apps/spaces'),
resolve(__dirname, './apps/lens'),
resolve(__dirname, './apps/logstash'),
resolve(__dirname, './apps/grok_debugger'),
resolve(__dirname, './apps/infra'),
Expand All @@ -60,6 +59,7 @@ export default async function ({ readConfigFile }) {
resolve(__dirname, './apps/management'),
resolve(__dirname, './apps/reporting'),
resolve(__dirname, './apps/observability'),
resolve(__dirname, './apps/lens'), // smokescreen tests cause flakiness in other tests

//This upgrade assistant file needs to be run after the rest of the jobs because of
//it being destructive.
Expand Down

0 comments on commit 0a8a334

Please sign in to comment.