Commit ae3828de authored by Nick Craver's avatar Nick Craver

Tests: remove the 250ms per run pause

We're stable enough to not need this anymore, yay for faster runs!
parent 15cb2b12
......@@ -432,7 +432,7 @@ public void Keys(string pattern, int pageSize)
public void HashSlots(string key, int slot)
{
using (var muxer = Create(connectTimeout: 5000, pause: false))
using (var muxer = Create(connectTimeout: 5000))
{
Assert.Equal(slot, muxer.HashSlot(key));
}
......
......@@ -211,11 +211,10 @@ protected IServer GetAnyMaster(ConnectionMultiplexer muxer)
string clientName = null, int? syncTimeout = null, bool? allowAdmin = null, int? keepAlive = null,
int? connectTimeout = null, string password = null, string tieBreaker = null, TextWriter log = null,
bool fail = true, string[] disabledCommands = null, string[] enabledCommands = null,
bool checkConnect = true, bool pause = true, string failMessage = null,
bool checkConnect = true, string failMessage = null,
string channelPrefix = null, Proxy? proxy = null,
[CallerMemberName] string caller = null)
{
if (pause) Thread.Sleep(250); // get a lot of glitches when hammering new socket creations etc; pace it out a bit
string configuration = GetConfiguration();
var config = ConfigurationOptions.Parse(configuration);
if (disabledCommands != null && disabledCommands.Length != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment