[Test] Add argo retry in sample/integration tests to reduce flakiness. (#3365)

* add retry

* test

* revert test only change

* add retry to e2e tests

* try to parameterize retry limit

* Revert "try to parameterize retry limit"

This reverts commit 46451e3a

* update the retry limit to 2

* update e2e retry
This commit is contained in:
Jiaxiao Zheng 2020-03-26 21:38:22 -07:00 committed by GitHub
parent 47cde0b6b9
commit b89d3a5eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -249,6 +249,8 @@ spec:
]
- name: run-basic-e2e-tests
retryStrategy:
limit: 2
inputs:
parameters:
- name: test-results-gcs-dir

View File

@ -104,7 +104,7 @@ spec:
- container_build
- parameterized_tfx_oss
- iris
# when: "{{inputs.parameters.is-integration-test}} == true"
when: "{{inputs.parameters.is-integration-test}} == true"
# Build and push image
- name: build-image-by-dockerfile
retryStrategy:
@ -145,6 +145,8 @@ spec:
mirrorVolumeMounts: true
- name: run-sample-tests
retryStrategy:
limit: 2
inputs:
parameters:
- name: test-results-gcs-dir