Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't write replies if close the client ASAP #7202

Merged
merged 7 commits into from Sep 24, 2020
Merged
4 changes: 4 additions & 0 deletions tests/unit/obuf-limits.tcl
Expand Up @@ -137,6 +137,7 @@ start_server {tags {"obuf-limits"}} {
}

# Output buffer limit is enforced during executing transaction
r client setname transactionclient
r set k1 v1
r multi
r set k2 v2
Expand All @@ -145,6 +146,9 @@ start_server {tags {"obuf-limits"}} {
r set k3 v3
r del k1
catch {[r exec]} e
oranagra marked this conversation as resolved.
Show resolved Hide resolved
assert_match "*I/O error*" $e
set clients [r client list]
assert_no_match "*name=transactionclient*" $clients
reconnect
ShooterIT marked this conversation as resolved.
Show resolved Hide resolved

# Transactions should be executed completely
Expand Down