• Oran Agra's avatar
    solve redis-cli test failures due to local history file (#13419) · 880e147d
    Oran Agra authored
    test failure:
    ```
    [err]: Interactive CLI: should find second search result if user presses ctrl+s in tests/integration/redis-cli.tcl
    Expected '1' to be equal to '0' (context: type eval line 10 cmd {assert_equal 1 [regexp {\(i-search\): \x1B\[0mk\x1B\[1mey\x1B\[0ms one} $result]} proc ::test)
    ```
    
    this test (introduced in #12543) depends on the local history file, so
    it can fail if there's some match there.
    the fix is to use a different history file, and delete it before each
    run.
    880e147d
redis-cli.tcl 27 KB