Commit 1464cee
Robustify the Pubchem live api pytest test (#1276)
The Pubchem server often returns a "server busy" error. The code in
pubchem_test.py would retry the test in those situations (as desired),
but it turned out that the error still got propagated up and cause
pytest to report a failure.
This PR tries to make the test more robust against server busy errors.
---------
Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>1 parent bdd19ef commit 1464cee
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
0 commit comments