Skip to content

Commit

Permalink
Reduces scope of test config for efficiency in flaky runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy committed Oct 3, 2023
1 parent 9a8803f commit 78db2dd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
20 changes: 10 additions & 10 deletions test/plugin_functional/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
return {
rootTags: ['runOutsideOfCiGroups'],
testFiles: [
require.resolve('./test_suites/usage_collection'),
require.resolve('./test_suites/telemetry'),
require.resolve('./test_suites/core'),
require.resolve('./test_suites/custom_visualizations'),
require.resolve('./test_suites/panel_actions'),
// require.resolve('./test_suites/usage_collection'),
// require.resolve('./test_suites/telemetry'),
// require.resolve('./test_suites/core'),
// require.resolve('./test_suites/custom_visualizations'),
// require.resolve('./test_suites/panel_actions'),
require.resolve('./test_suites/core_plugins'),
require.resolve('./test_suites/management'),
require.resolve('./test_suites/application_links'),
require.resolve('./test_suites/data_plugin'),
require.resolve('./test_suites/saved_objects_management'),
require.resolve('./test_suites/saved_objects_hidden_type'),
// require.resolve('./test_suites/management'),
// require.resolve('./test_suites/application_links'),
// require.resolve('./test_suites/data_plugin'),
// require.resolve('./test_suites/saved_objects_management'),
// require.resolve('./test_suites/saved_objects_hidden_type'),
],
services: {
...functionalConfig.get('services'),
Expand Down
26 changes: 13 additions & 13 deletions test/plugin_functional/test_suites/core_plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ import { PluginFunctionalProviderContext } from '../../services';

export default function ({ loadTestFile }: PluginFunctionalProviderContext) {
describe('core plugins', () => {
loadTestFile(require.resolve('./applications'));
loadTestFile(require.resolve('./elasticsearch_client'));
loadTestFile(require.resolve('./execution_context'));
loadTestFile(require.resolve('./server_plugins'));
loadTestFile(require.resolve('./ui_plugins'));
loadTestFile(require.resolve('./ui_settings'));
loadTestFile(require.resolve('./top_nav'));
loadTestFile(require.resolve('./application_leave_confirm'));
loadTestFile(require.resolve('./application_status'));
loadTestFile(require.resolve('./application_deep_links'));
// loadTestFile(require.resolve('./applications'));
// loadTestFile(require.resolve('./elasticsearch_client'));
// loadTestFile(require.resolve('./execution_context'));
// loadTestFile(require.resolve('./server_plugins'));
// loadTestFile(require.resolve('./ui_plugins'));
// loadTestFile(require.resolve('./ui_settings'));
// loadTestFile(require.resolve('./top_nav'));
// loadTestFile(require.resolve('./application_leave_confirm'));
// loadTestFile(require.resolve('./application_status'));
// loadTestFile(require.resolve('./application_deep_links'));
loadTestFile(require.resolve('./rendering'));
loadTestFile(require.resolve('./chrome_help_menu_links'));
loadTestFile(require.resolve('./history_block'));
loadTestFile(require.resolve('./http'));
// loadTestFile(require.resolve('./chrome_help_menu_links'));
// loadTestFile(require.resolve('./history_block'));
// loadTestFile(require.resolve('./http'));
});
}

0 comments on commit 78db2dd

Please sign in to comment.