Commit 1b5fa2b2 authored by Marc Gravell's avatar Marc Gravell

trap the log in DeslaveGoesToPrimary

parent 77633383
...@@ -127,7 +127,7 @@ public async Task DeslaveGoesToPrimary() ...@@ -127,7 +127,7 @@ public async Task DeslaveGoesToPrimary()
{ {
conn.Configure(writer); conn.Configure(writer);
string log = writer.ToString(); string log = writer.ToString();
Writer.WriteLine(log);
Assert.True(log.Contains("tie-break is unanimous at " + TestConfig.Current.FailoverMasterServerAndPort), "unanimous"); Assert.True(log.Contains("tie-break is unanimous at " + TestConfig.Current.FailoverMasterServerAndPort), "unanimous");
} }
// k, so we know everyone loves 6379; is that what we get? // k, so we know everyone loves 6379; is that what we get?
......
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