From d62ee2b2b4ddb102368619d79c7521269548a4ce Mon Sep 17 00:00:00 2001 From: "A. B. M. Mahmudul Hasan" Date: Tue, 7 Jul 2026 14:59:33 +0600 Subject: [PATCH] slow ci precision safety --- tests/Cache/MemCachePoolTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Cache/MemCachePoolTest.php b/tests/Cache/MemCachePoolTest.php index c9921c7..93aae9b 100644 --- a/tests/Cache/MemCachePoolTest.php +++ b/tests/Cache/MemCachePoolTest.php @@ -99,14 +99,14 @@ function (array $data): mixed { // Callable $val = $this->cache->get('call', function (MemCacheItem $item) { - $item->expiresAfter(1); + $item->expiresAfter(3); return 'hello'; }); expect($val)->toBe('hello'); expect($this->cache->get('call'))->toBe('hello'); - usleep(2_000_000); + usleep(4_000_000); expect($this->cache->get('call', 'again'))->toBe('again'); });