• Binbin's avatar
    Fix wathced client test timing issue caused by late close (#13062) · 3c2ea1ea
    Binbin authored
    There is a timing issue in the test, close may arrive late, or in
    freeClientAsync we will free the client in async way, which will
    lead to errors in watching_clients statistics, since we will only
    unwatch all keys when we truly freeClient.
    
    Add a wait here to avoid this problem. Also fixed some outdated
    comments i saw. The test was introduced in #12966.
    3c2ea1ea
networking.c 178 KB