summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2023-02-23 13:36:31 +0200
committerGitHub <noreply@github.com>2023-02-23 13:36:31 +0200
commitc8226ae37875da285ebedeef78ced87666ca1be7 (patch)
tree2b4aea4fbc23383ab92b40b4b09e0b677fb362a1 /tests
parent61acf515bca88210291edf8353153b4f76083d64 (diff)
downloadredis-c8226ae37875da285ebedeef78ced87666ca1be7.tar.gz
Try to solve valgrind CI test error with client-eviction test (#11822)
The test sporadically failed with valgrind trying to match `no client named obuf-client1 found*` in the log it looks like `obuf-client1` was indeed dropped, so i'm guessing it's because CLIENT LIST was processed first.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/client-eviction.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/client-eviction.tcl b/tests/unit/client-eviction.tcl
index 1e4707ff4..db6a22499 100644
--- a/tests/unit/client-eviction.tcl
+++ b/tests/unit/client-eviction.tcl
@@ -353,6 +353,7 @@ start_server {} {
$rr3 get k
$rr3 flush
exec kill -SIGCONT $server_pid
+ r ping ;# make sure a full event loop cycle is processed before issuing CLIENT LIST
# Validate obuf-clients were disconnected (because of obuf limit)
catch {client_field obuf-client1 name} e