From 10136729ab1bddc8b1b73fb9aeb5a2e08a0f4fc9 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 12 Aug 2022 14:59:37 +0300 Subject: [PATCH] Increase expire time --- tests/package/test_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/package/test_manager.py b/tests/package/test_manager.py index 896a7231..cd1fc1a2 100644 --- a/tests/package/test_manager.py +++ b/tests/package/test_manager.py @@ -44,7 +44,7 @@ def test_download(isolated_pio_core): lm.cleanup_expired_downloads(time.time()) assert os.path.isfile(archive_path) # test outdated downloads - lm.set_download_utime(archive_path, time.time() - lm.DOWNLOAD_CACHE_EXPIRE - 1) + lm.set_download_utime(archive_path, time.time() - lm.DOWNLOAD_CACHE_EXPIRE - 60) lm.cleanup_expired_downloads(time.time()) assert not os.path.isfile(archive_path) # check that key is deleted from DB