diff --git a/Directory.Packages.props b/Directory.Packages.props index 79557bb9..797a2d8e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + @@ -28,4 +28,4 @@ - \ No newline at end of file + diff --git a/tests/NRedisStack.Tests/EndpointsFixture.cs b/tests/NRedisStack.Tests/EndpointsFixture.cs index e3a27dac..3bec7b57 100644 --- a/tests/NRedisStack.Tests/EndpointsFixture.cs +++ b/tests/NRedisStack.Tests/EndpointsFixture.cs @@ -128,6 +128,7 @@ public ConnectionMultiplexer GetConnectionById(ConfigurationOptions configuratio { var options = configurationOptions.Clone(); // isolate before we start applying the protocol options.Protocol = protocol.IsResp3() ? RedisProtocol.Resp3 : RedisProtocol.Resp2; + options.AllowAdmin = true; // from 3.0, Execute[Async] does a better job of recognizing admin commands options.HighIntegrity = protocol.IsHighIntegrity(); options.ConnectTimeout = 2000; if (shareConnection) options.AbortOnConnectFail = false; @@ -170,4 +171,4 @@ public bool IsTargetConnectionExist(string id) { return redisEndpoints.ContainsKey(id); } -} \ No newline at end of file +}