• Binbin's avatar
    Add script tests to cover keys with expiration time set (#10096) · e22146b0
    Binbin authored
    This commit adds some tests that the test cases will
    access the keys with expiration time set in the script call.
    There was no test case for this part before. See #10080
    
    Also there is a test will cover #1525. we block the time so
    that the key can not expire in the middle of the script execution.
    
    Other changes:
    1. Delete `evalTimeSnapshot` and just use `scriptTimeSnapshot` in it's place.
    2. Some cleanups to scripting.tcl.
    3. better names for tests that run in a loop to make them distinctable 
    e22146b0
scripting.tcl 42.7 KB