From 64ddc2e10a05b62ddce424c475d049aeb4c61138 Mon Sep 17 00:00:00 2001 From: naglera Date: Tue, 14 Jan 2025 08:25:30 +0000 Subject: [PATCH] Fix valgrind test Misspelled at https://github.com/valkey-io/valkey/pull/1165/files Signed-off-by: naglera --- tests/integration/dual-channel-replication.tcl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/integration/dual-channel-replication.tcl b/tests/integration/dual-channel-replication.tcl index 4ca70651a1..ec6783c1c9 100644 --- a/tests/integration/dual-channel-replication.tcl +++ b/tests/integration/dual-channel-replication.tcl @@ -511,8 +511,10 @@ start_server {tags {"dual-channel-replication external:skip"}} { $primary config set repl-diskless-sync-delay 0 if {$::valgrind} { $primary config set repl-timeout 100 + $replica config set repl-timeout 100 } else { - $primary config set repl-timeout 10 + $primary config set repl-timeout 10 + $replica config set repl-timeout 10 } $primary config set rdb-key-save-delay 200 populate 10000 primary 10000 @@ -523,11 +525,7 @@ start_server {tags {"dual-channel-replication external:skip"}} { $replica config set dual-channel-replication-enabled yes $replica config set loglevel debug - if {$::valgrind} { - $primary config set repl-timeout 100 - } else { - $primary config set repl-timeout 10 - } + # Pause replica after primary fork $replica debug pause-after-fork 1