From b89da88237533921ca9bf099118381b9611ecf90 Mon Sep 17 00:00:00 2001 From: nicknak Date: Thu, 6 Dec 2018 13:45:40 -0500 Subject: [PATCH] Reporting phantom and chromium tests should run in parallel. (#26566) * Reporting phantom and chromium tests should run in parallel. * Chromium tests should be done in group 9. * Attempting to use group 2 in ci for chromium tests. * X-pack CI jobs should have 7 groups. * Phantom tests should be in group 7. --- .ci/jobs.yml | 1 + test/scripts/jenkins_xpack_ci_group.sh | 3 ++- x-pack/test/functional/apps/infra/index.ts | 2 +- x-pack/test/reporting/api/chromium_tests.js | 2 +- x-pack/test/reporting/api/phantom_tests.js | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.ci/jobs.yml b/.ci/jobs.yml index f9302db4b2910..84d8f75acbd30 100644 --- a/.ci/jobs.yml +++ b/.ci/jobs.yml @@ -21,6 +21,7 @@ JOB: - x-pack-ciGroup4 - x-pack-ciGroup5 - x-pack-ciGroup6 + - x-pack-ciGroup7 # `~` is yaml for `null` exclude: ~ diff --git a/test/scripts/jenkins_xpack_ci_group.sh b/test/scripts/jenkins_xpack_ci_group.sh index 4df6041639116..11b16ba27a328 100755 --- a/test/scripts/jenkins_xpack_ci_group.sh +++ b/test/scripts/jenkins_xpack_ci_group.sh @@ -14,7 +14,8 @@ node scripts/functional_tests --assert-none-excluded \ --include-tag ciGroup3 \ --include-tag ciGroup4 \ --include-tag ciGroup5 \ - --include-tag ciGroup6 + --include-tag ciGroup6 \ + --include-tag ciGroup7 echo " -> building and extracting default Kibana distributable for use in functional tests" cd "$KIBANA_DIR" diff --git a/x-pack/test/functional/apps/infra/index.ts b/x-pack/test/functional/apps/infra/index.ts index 117f309d9470e..322aea31e1263 100644 --- a/x-pack/test/functional/apps/infra/index.ts +++ b/x-pack/test/functional/apps/infra/index.ts @@ -9,7 +9,7 @@ import { KibanaFunctionalTestDefaultProviders } from '../../../types/providers'; // tslint:disable-next-line:no-default-export export default ({ loadTestFile }: KibanaFunctionalTestDefaultProviders) => { describe('InfraOps app', function() { - this.tags('ciGroup4'); + this.tags('ciGroup7'); loadTestFile(require.resolve('./home_page')); }); diff --git a/x-pack/test/reporting/api/chromium_tests.js b/x-pack/test/reporting/api/chromium_tests.js index b983f290eb085..892f561539387 100644 --- a/x-pack/test/reporting/api/chromium_tests.js +++ b/x-pack/test/reporting/api/chromium_tests.js @@ -11,7 +11,7 @@ export default function ({ loadTestFile, getService }) { const kibanaServer = getService('kibanaServer'); describe('chromium', function () { - this.tags('ciGroup6'); + this.tags('ciGroup2'); before(async () => { await esArchiver.load(OSS_KIBANA_ARCHIVE_PATH); diff --git a/x-pack/test/reporting/api/phantom_tests.js b/x-pack/test/reporting/api/phantom_tests.js index e0c8c11b326bd..62993ec40208e 100644 --- a/x-pack/test/reporting/api/phantom_tests.js +++ b/x-pack/test/reporting/api/phantom_tests.js @@ -11,7 +11,7 @@ export default function ({ loadTestFile, getService }) { const kibanaServer = getService('kibanaServer'); describe('phantom', function () { - this.tags('ciGroup6'); + this.tags('ciGroup7'); before(async () => { await esArchiver.load(OSS_KIBANA_ARCHIVE_PATH);