Commit 232dfb7
committed
harden cache expiration test
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.1 parent bb7e1ab commit 232dfb7
File 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