Closed
Description
Symfony version(s) affected
5.4
Description
In the CI we see a warning:
https://github.com/symfony/symfony/runs/4204456225#step:11:28
[cb,WARN] (pcbc/pool L:37) The specified expiry duration 1668530562 is longer than 50 years. For bug-compatibility with previous versions of SDK 3.0.x, the number of seconds in the duration will be interpreted as the epoch second when the document should expire (#{effective_expiry}). Stuffing an epoch second into a Duration is deprecated and will no longer work in SDK 3.1. Consider using Time instance instead.
And a failure:
- Symfony\Component\Cache\Tests\Adapter\CouchbaseCollectionAdapterTest::testExpiration
Failed asserting that true is false.
src/Symfony/Component/Cache/Tests/Adapter/AdapterTestCase.php:169
And a warning:
THE ERROR HANDLER HAS CHANGED!
To be investigated.
@ajcerezo since you contributed support for couchbase collection, maybe you'd like to have a look?
How to reproduce
Possible Solution
No response
Additional Context
No response