"vscode:/vscode.git/clone" did not exist on "cc7b10cb52d3e89abee6f25c198ab182c3501239"
Add tests to cover EXPIRE overflow fix (#9839)
In #8287, some overflow checks have been added. But when `when *= 1000` overflows, it will become a positive number. And the check not able to catch it. The key will be added with a short expiration time and will deleted a few seconds later. In #9601, will check the overflow after `*=` and return an error first, and avoiding this situation. In this commit, added some tests to cover those code paths. Found it in #9825, and close it. (cherry picked from commit 9273d09d)
Please register or sign in to comment