Commit c8ba605b authored by Nick Craver's avatar Nick Craver

Tests: Cluster.GetConfig() - better logging

parent fb4a6308
......@@ -439,11 +439,17 @@ public void GetConfig()
var server = muxer.GetServer(endpoints[0]);
var nodes = server.ClusterNodes();
Assert.Equal(endpoints.Length, nodes.Nodes.Count);
Output.WriteLine("Endpoints:");
foreach (var endpoint in endpoints)
{
Output.WriteLine(endpoint.ToString());
}
Output.WriteLine("Nodes:");
foreach (var node in nodes.Nodes.OrderBy(x => x))
{
Output.WriteLine(node.ToString());
}
Assert.Equal(endpoints.Length, nodes.Nodes.Count);
}
}
......@@ -655,4 +661,4 @@ public void MovedProfiling()
}
#endif
}
}
\ No newline at end of file
}
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