summaryrefslogtreecommitdiff
path: root/tests/unit/obuf-limits.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/obuf-limits.tcl')
-rw-r--r--tests/unit/obuf-limits.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/obuf-limits.tcl b/tests/unit/obuf-limits.tcl
index 4453d4889..38048935a 100644
--- a/tests/unit/obuf-limits.tcl
+++ b/tests/unit/obuf-limits.tcl
@@ -140,7 +140,7 @@ start_server {tags {"obuf-limits external:skip"}} {
# Read nothing
set fd [$rd channel]
- assert_equal {} [read $fd]
+ assert_equal {} [$rd rawread]
}
# Note: This test assumes that what's written with one write, will be read by redis in one read.
@@ -180,8 +180,7 @@ start_server {tags {"obuf-limits external:skip"}} {
assert_equal "PONG" [r ping]
set clients [r client list]
assert_no_match "*name=multicommands*" $clients
- set fd [$rd2 channel]
- assert_equal {} [read $fd]
+ assert_equal {} [$rd2 rawread]
}
test {Execute transactions completely even if client output buffer limit is enforced} {