Separate follower tests and enable core dumps

pull/2657/head
Jason Petersen 2019-04-08 00:55:27 -06:00
parent 25eece427f
commit 358ca53696
1 changed files with 40 additions and 4 deletions

View File

@ -38,8 +38,25 @@ jobs:
working_directory: /home/circleci/project
steps:
- {attach_workspace: {at: .}}
- {run: {name: 'Install and Test (check-iso-work-fol)', command: 'install-and-test-ext check-isolation check-worker check-follower-cluster'}}
- {codecov/upload: {flags: 'test_10,isolation,worker,follower'}}
- {run: {name: 'Install and Test (check-iso-work-fol)', command: 'install-and-test-ext check-isolation check-worker'}}
- {codecov/upload: {flags: 'test_10,isolation,worker'}}
test-10_check-fol:
docker:
- {image: 'citusdata/exttester-10:latest'}
working_directory: /home/circleci/project
steps:
- {attach_workspace: {at: .}}
- run:
name: 'Enable core dumps'
command: 'ulimit -c unlimited'
- {run: {name: 'Install and Test (fol)', command: 'install-and-test-ext check-follower-cluster'}}
- run:
command: |
mkdir -p /tmp/core_dumps
cp core.* /tmp/core_dumps
when: on_fail
- {codecov/upload: {flags: 'follower'}}
- {store_artifacts: {path: '/tmp/core_dumps'}}
test-10_check-failure:
docker:
- {image: 'citusdata/failtester-10:latest'}
@ -69,8 +86,25 @@ jobs:
working_directory: /home/circleci/project
steps:
- {attach_workspace: {at: .}}
- {run: {name: 'Install and Test (check-iso-work-fol)', command: 'install-and-test-ext check-isolation check-worker check-follower-cluster'}}
- {codecov/upload: {flags: 'test_11,isolation,worker,follower'}}
- {run: {name: 'Install and Test (check-iso-work-fol)', command: 'install-and-test-ext check-isolation check-worker'}}
- {codecov/upload: {flags: 'test_11,isolation,worker'}}
test-11_check-fol:
docker:
- {image: 'citusdata/exttester-11:latest'}
working_directory: /home/circleci/project
steps:
- {attach_workspace: {at: .}}
- run:
name: 'Enable core dumps'
command: 'ulimit -c unlimited'
- {run: {name: 'Install and Test (fol)', command: 'install-and-test-ext check-follower-cluster'}}
- run:
command: |
mkdir -p /tmp/core_dumps
cp core.* /tmp/core_dumps
when: on_fail
- {codecov/upload: {flags: 'follower'}}
- {store_artifacts: {path: '/tmp/core_dumps'}}
test-11_check-failure:
docker:
- {image: 'citusdata/failtester-11:latest'}
@ -88,9 +122,11 @@ workflows:
- {test-10_check-multi: {requires: [build]}}
- {test-10_check-tt-van-mx: {requires: [build]}}
- {test-10_check-iso-work-fol: {requires: [build]}}
- {test-10_check-fol: {requires: [build]}}
- {test-10_check-failure: {requires: [build]}}
- {test-11_check-multi: {requires: [build]}}
- {test-11_check-tt-van-mx: {requires: [build]}}
- {test-11_check-iso-work-fol: {requires: [build]}}
- {test-11_check-fol: {requires: [build]}}
- {test-11_check-failure: {requires: [build]}}