From f745c0181a827927b220caafe6ccd9a5291907f3 Mon Sep 17 00:00:00 2001 From: guybe7 Date: Tue, 23 Feb 2021 19:28:03 +0100 Subject: [PATCH] Fix race in CONFIG REWRITE sanity (#8536) server may still be LOADING the RDB when receiving the ping --- tests/unit/introspection.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/introspection.tcl b/tests/unit/introspection.tcl index ba28341ff..c1cf72f0c 100644 --- a/tests/unit/introspection.tcl +++ b/tests/unit/introspection.tcl @@ -173,7 +173,7 @@ start_server {tags {"introspection"}} { # Rewrite entire configuration, restart and confirm the # server is able to parse it and start. assert_equal [r debug config-rewrite-force-all] "OK" - restart_server 0 false false + restart_server 0 true false assert_equal [r ping] "PONG" # Verify no changes were introduced