From de0540d34b390a73f7549df9fbe8db602203975e Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 31 May 2020 21:39:50 -0400 Subject: [PATCH] Fix client race in test (test only issue) Former-commit-id: f25aebf2698509a132ebf599374b245efb51e365 --- tests/unit/type/list.tcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index 676896a75..9349d8bdf 100644 --- a/tests/unit/type/list.tcl +++ b/tests/unit/type/list.tcl @@ -1,7 +1,10 @@ +# Setting server-threads to 2 is really single threaded because test mode is enabled (no client allocated to thread 1) +# We do this because of the large numbers of nonblocking clients in this tests and the client races that causes start_server { tags {"list"} overrides { "list-max-ziplist-size" 5 + "server-threads 2" } } { source "tests/unit/type/list-common.tcl"