Unverified Commit fc8dcdea authored by Nick Craver's avatar Nick Craver Committed by GitHub

Sentinel: remove Thread.Sleep and throws (#1403)

We were throwing in event handlers...that's not good. Also post-thread sleep in timer callbacks.
parent c3bc13d7
......@@ -403,6 +403,7 @@ public async Task SentinelFailoverAsyncTest()
}
}
#if DEBUG
[Fact]
public async Task GetSentinelMasterConnectionFailoverTest()
{
......@@ -467,6 +468,7 @@ public async Task GetSentinelMasterConnectionFailoverAsyncTest()
var conn1 = Conn.GetSentinelMasterConnection(ServiceOptions);
Assert.NotEqual(endpoint, conn1.currentSentinelMasterEndPoint.ToString());
}
#endif
[Fact]
public async Task GetSentinelMasterConnectionWriteReadFailover()
......
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