From e36bd49cf2f1306811bb6a8df98e6c314de28a80 Mon Sep 17 00:00:00 2001 From: John Sully Date: Tue, 8 Mar 2022 18:20:03 -0500 Subject: [PATCH] Eliminate firewall dialogs on mac for regular and cluster tests. There are still issues with the sentinel tests but attempting to bind only to localhost causes failures --- tests/assets/minimal.conf | 1 + tests/cluster/run.tcl | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/assets/minimal.conf b/tests/assets/minimal.conf index ed49223c9..5e0b033da 100644 --- a/tests/assets/minimal.conf +++ b/tests/assets/minimal.conf @@ -1,4 +1,5 @@ # Minimal configuration for testing. +bind 127.0.0.1 always-show-logo yes daemonize no pidfile /var/run/keydb.pid diff --git a/tests/cluster/run.tcl b/tests/cluster/run.tcl index 2c72ad307..7e1e91081 100644 --- a/tests/cluster/run.tcl +++ b/tests/cluster/run.tcl @@ -13,8 +13,9 @@ set ::tlsdir "../../tls" proc main {} { parse_options spawn_instance redis $::redis_base_port $::instances_count { - "cluster-enabled yes" - "appendonly yes" + "bind 127.0.0.1" + "cluster-enabled yes" + "appendonly yes" "testmode yes" "server-threads 3" }