Skip to content

Commit

Permalink
ci: disable windows e2e tests temporarily (#8697)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuth committed Nov 5, 2021
1 parent 9d18929 commit 05151bd
Showing 1 changed file with 54 additions and 55 deletions.
109 changes: 54 additions & 55 deletions scripts/split-e2e-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,58 +10,60 @@ const CONCURRENCY = 25;
// (examples: sending line endings when we shouldn't, java/gradle not installed on windows host)
// Each of these failures should be independently investigated, resolved, and removed from this list.
// For now, this list is being used to skip creation of circleci jobs for these tasks

// Todo: update the split test strategy to use parallelization so circleci results dont go over the limits of github payload size
const WINDOWS_TEST_ALLOWLIST = [
'schema-function-1_pkg',
'tags_pkg',
'hosting_pkg',
'schema-auth-9_pkg',
'schema-model_pkg',
'schema-auth-5_pkg',
'api_lambda_auth_pkg',
'node-function_pkg',
'schema-function-2_pkg',
'notifications_pkg',
'interactions_pkg',
'analytics_pkg',
'schema-auth-7_pkg',
'schema-auth-11_pkg',
'auth_6_pkg',
'frontend_config_drift_pkg',
'hooks_pkg',
'plugin_pkg',
'schema-versioned_pkg',
'schema-auth-3_pkg',
'schema-auth-8_pkg',
'import_dynamodb_1_pkg',
'schema-connection_pkg',
'auth_7_pkg',
'iam-permissions-boundary_pkg',
'storage-1_pkg',
'init-special-case_pkg',
'schema-data-access-patterns_pkg',
'schema-auth-10_pkg',
'schema-searchable_pkg',
'schema-auth-6_pkg',
'auth_8_pkg',
's3-sse_pkg',
'storage-2_pkg',
'containers-api_pkg',
'schema-auth-4_pkg',
'configure-project_pkg',
'schema-auth-12_pkg',
'storage-3_pkg',
'amplify-configure_pkg',
'schema-predictions_pkg',
'predictions_pkg',
'auth_1_pkg',
'schema-auth-1_pkg',
'schema-auth-2_pkg',
'container-hosting_pkg',
'schema-auth-13_pkg',
'init_pkg',
'hostingPROD_pkg',
'auth_5_pkg',
'auth_2_pkg',
// 'schema-function-1_pkg',
// 'tags_pkg',
// 'hosting_pkg',
// 'schema-auth-9_pkg',
// 'schema-model_pkg',
// 'schema-auth-5_pkg',
// 'api_lambda_auth_pkg',
// 'node-function_pkg',
// 'schema-function-2_pkg',
// 'notifications_pkg',
// 'interactions_pkg',
// 'analytics_pkg',
// 'schema-auth-7_pkg',
// 'schema-auth-11_pkg',
// 'auth_6_pkg',
// 'frontend_config_drift_pkg',
// 'hooks_pkg',
// 'plugin_pkg',
// 'schema-versioned_pkg',
// 'schema-auth-3_pkg',
// 'schema-auth-8_pkg',
// 'import_dynamodb_1_pkg',
// 'schema-connection_pkg',
// 'auth_7_pkg',
// 'iam-permissions-boundary_pkg',
// 'storage-1_pkg',
// 'init-special-case_pkg',
// 'schema-data-access-patterns_pkg',
// 'schema-auth-10_pkg',
// 'schema-searchable_pkg',
// 'schema-auth-6_pkg',
// 'auth_8_pkg',
// 's3-sse_pkg',
// 'storage-2_pkg',
// 'containers-api_pkg',
// 'schema-auth-4_pkg',
// 'configure-project_pkg',
// 'schema-auth-12_pkg',
// 'storage-3_pkg',
// 'amplify-configure_pkg',
// 'schema-predictions_pkg',
// 'predictions_pkg',
// 'auth_1_pkg',
// 'schema-auth-1_pkg',
// 'schema-auth-2_pkg',
// 'container-hosting_pkg',
// 'schema-auth-13_pkg',
// 'init_pkg',
// 'hostingPROD_pkg',
// 'auth_5_pkg',
// 'auth_2_pkg',
];

// Ensure to update packages/amplify-e2e-tests/src/cleanup-e2e-resources.ts is also updated this gets updated
Expand Down Expand Up @@ -315,10 +317,7 @@ function splitTests(
requires: [...(requires ? [requires] : workflowJob[jobName].requires || [])],
matrix: {
parameters: {
os:
WINDOWS_TEST_ALLOWLIST.includes(newJobName)
? ['l', 'w']
: ['l'],
os: WINDOWS_TEST_ALLOWLIST.includes(newJobName) ? ['l', 'w'] : ['l'],
},
},
},
Expand Down

0 comments on commit 05151bd

Please sign in to comment.