Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Retry integration tests on any exception. #2019

Merged
merged 1 commit into from
Jun 7, 2018
Merged

Conversation

ojarjur
Copy link
Contributor

@ojarjur ojarjur commented Jun 7, 2018

The previous version of this logic retried a test if any of its
self.assert... calls failed.

However, that does not handle the case where a nested call to
datalab fails. In those cases a CalledProcessError would be
raised.

To retry on those scenarios as well, we extend the retry logic
to retry on any instance of the Exception class.

The previous version of this logic retried a test if any of its
`self.assert...` calls failed.

However, that does not handle the case where a nested call to
`datalab` fails. In those cases a `CalledProcessError` would be
raised.

To retry on those scenarios as well, we extend the retry logic
to retry on any instance of the `Exception` class.
@ojarjur ojarjur requested review from yebrahim and qimingj June 7, 2018 19:09
@ojarjur ojarjur merged commit 1213f76 into master Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants