From b56f4f70d2cae11988f2f330b8060e21d78b163b Mon Sep 17 00:00:00 2001 From: Madelyn Olson Date: Thu, 19 Dec 2024 18:16:46 -0800 Subject: [PATCH] Update info.tcl test to revert client output limits sooner (#1462) We set the client output buffer limits to 10 bytes, and then execute `info stats` which produces more than 10 bytes of output, which can cause that command to throw an error. I'm not sure why it wasn't consistently erroring before, might have been some change related to the ubuntu upgrade though. Issues related to ubuntu-tls are hopefully resolved now. Signed-off-by: Madelyn Olson --- tests/unit/info.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/info.tcl b/tests/unit/info.tcl index 11dc4e5d40..3295c5e31a 100644 --- a/tests/unit/info.tcl +++ b/tests/unit/info.tcl @@ -406,10 +406,10 @@ start_server {tags {"info" "external:skip" "debug_defrag:skip"}} { r config set client-output-buffer-limit "normal 10 0 0" r set key [string repeat a 100000] ;# to trigger output buffer limit check this needs to be big catch {r get key} + r config set client-output-buffer-limit $org_outbuf_limit set info [r info stats] assert_equal [getInfoProperty $info client_output_buffer_limit_disconnections] {1} - r config set client-output-buffer-limit $org_outbuf_limit - } {OK} {logreqres:skip} ;# same as obuf-limits.tcl, skip logreqres + } {} {logreqres:skip} ;# same as obuf-limits.tcl, skip logreqres test {clients: pubsub clients} { set info [r info clients]