Skip to content

Commit

Permalink
Make SQL tests serial
Browse files Browse the repository at this point in the history
Due to SQLv1 and v2 being driven by the same collection, we get
a race condition on cleanup.
  • Loading branch information
Temikus committed Jun 5, 2018
1 parent 534fe54 commit 0084f06
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
path: fog-google-src
status: failure

- name: integration-tests-sqlv1
- name: integration-tests-sql
serial: true
plan:
- get: fog-google-src
Expand All @@ -81,30 +81,7 @@ jobs:
- task: full-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:sqlv1
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-sqlv2
serial: true
plan:
- get: fog-google-src
resource: pull-request
version: every
trigger: true
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:sqlv2
rake_task: test:sql
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
Expand Down Expand Up @@ -142,8 +119,7 @@ jobs:
- get: fog-google-src
resource: pull-request
passed: [integration-tests-storage,
integration-tests-sqlv1,
integration-tests-sqlv2,
integration-tests-sql,
integration-tests-pubsub,
integration-tests-monitoring,
integration-tests-compute]
Expand Down

0 comments on commit 0084f06

Please sign in to comment.