This repository was archived by the owner on Sep 3, 2022. It is now read-only.
Commit 1213f76
authored
Retry integration tests on any exception. (#2019)
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.1 parent ebe71cb commit 1213f76
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments