From d9c08a1db3e5ac07f269eff93fbdf4c3016b80eb Mon Sep 17 00:00:00 2001 From: John Sully Date: Wed, 15 Apr 2020 22:27:04 -0400 Subject: [PATCH] Run all KeyDB instances in testmode during tests Former-commit-id: cd306f1d23f4fbb900433edbf55d89099bbf903c --- tests/support/server.tcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 6b5df039c..69326bb20 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -230,6 +230,9 @@ proc start_server {options {code undefined}} { set unixsocket [file normalize [format "%s/%s" [dict get $config "dir"] "socket"]] dict set config "unixsocket" $unixsocket + #Ensure all tests validate multithreading + dict set config "testmode" "yes" + # apply overrides from global space and arguments foreach {directive arguments} [concat $::global_overrides $overrides] { dict set config $directive $arguments