Commit 1353b87d authored by Nick Craver's avatar Nick Craver

GET ALONG, TESTS

It occurs to me the basis of multi-testing the same keys are fundamneally problematic, hidden behind the Me() call - at least fix those in a batch here.
parent cbe86136
...@@ -261,7 +261,14 @@ protected IServer GetAnyMaster(ConnectionMultiplexer muxer) ...@@ -261,7 +261,14 @@ protected IServer GetAnyMaster(ConnectionMultiplexer muxer)
return muxer; return muxer;
} }
protected static string Me([CallerMemberName] string caller = null) => caller; protected static string Me([CallerMemberName] string caller = null) =>
#if NET462
"net462-" + caller;
#elif NETCOREAPP2_0
"netcoreapp2.0-" + caller;
#else
"unknown-" + caller;
#endif
protected static TimeSpan RunConcurrent(Action work, int threads, int timeout = 10000, [CallerMemberName] string caller = null) protected static TimeSpan RunConcurrent(Action work, int threads, int timeout = 10000, [CallerMemberName] string caller = null)
{ {
......
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