Skip to content

Commit da51f40

Browse files
authored
If using exponential back-off, let's use 10sec delay
1 parent c91abee commit da51f40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openfermion/chem/pubchem_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_water_2d(self, monkeypatch):
149149
with pytest.raises(ValueError, match='Incorrect value for the argument structure'):
150150
_ = geometry_from_pubchem('water', structure='foo')
151151

152-
@pytest.mark.flaky(retries=3, delay=5, backoff=2, only_on=[pubchempy.ServerBusyError])
152+
@pytest.mark.flaky(retries=3, delay=10, backoff=2, only_on=[pubchempy.ServerBusyError])
153153
def test_geometry_from_pubchem_live_api(self):
154154
water_geometry = geometry_from_pubchem('water')
155155
assert len(water_geometry) == 3

0 commit comments

Comments
 (0)