• Binbin's avatar
    Fix new subscribe mode test in reply-schemas-validator (#11939) · c9124145
    Binbin authored
    The reason is in reply-schemas-validator, the resp of the
    client we create will be client_default_resp (currently 3):
    ```
    client *createClient(connection *conn) {
        client *c = zmalloc(sizeof(client));
     #ifdef LOG_REQ_RES
        reqresReset(c, 0);
        c->resp = server.client_default_resp;
     #else
        c->resp = 2;
     #endif
    }
    ```
    
    But current_resp3 in redis-cli will be inconsistent with it,
    the test adds a simple hello 3 to avoid this failure, test
    was added in #11873.
    
    Added help descriptions for dont-pre-clean option, it was
    added in #10273
    c9124145
redis-cli.tcl 19.3 KB