diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2022-09-30 19:00:38 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2022-09-30 19:00:44 -0500 |
commit | 228ca75f4102e951568a2e72b259e004a40a137e (patch) | |
tree | 81b87c60452aaa49c09f8997a6bef07e34cafc92 /tests | |
parent | f7e029ee27562634d42b609f6484216dc7960a57 (diff) | |
download | requests-cache-228ca75f4102e951568a2e72b259e004a40a137e.tar.gz |
Bump max wait time for MongoDB TTL test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/test_mongodb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/test_mongodb.py b/tests/integration/test_mongodb.py index fb56820..4a3a114 100644 --- a/tests/integration/test_mongodb.py +++ b/tests/integration/test_mongodb.py @@ -61,9 +61,9 @@ class TestMongoCache(BaseCacheTest): response = session.get(httpbin('get')) assert response.from_cache is True - # Wait up to 60 seconds for removal background process to run + # Wait for removal background process to run # Unfortunately there doesn't seem to be a way to manually trigger it - for i in range(60): + for i in range(70): if response.cache_key not in session.cache.responses: logger.debug(f'Removed {response.cache_key} after {i} seconds') break |