Commit eec38a0
committed
minor symfony#53303 [Cache] harden cache expiration test (xabbuh)
This PR was merged into the 5.4 branch.
Discussion
----------
[Cache] harden cache expiration test
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
In the worst case when the process sleeps for exactly one second the current timestamp would be exactly the same as the expiration time. Increasing the sleep time ensures that the tested item is always expired when executing the test.
Commits
-------
232dfb7 harden cache expiration testFile tree
1 file changed
+1
-0
lines changed- src/Symfony/Component/Cache/Tests/Adapter
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments