Commit 474eb386 authored by Nick Craver's avatar Nick Craver

Tests: log kinds seen in profiling

parent 9e4c0e5e
......@@ -118,6 +118,10 @@ public void ManyThreads()
var allVals = conn.FinishProfiling(profiler.MyContext);
var kinds = allVals.Select(cmd => cmd.Command).Distinct().ToList();
foreach (var k in kinds)
{
Log("Kind Seen: " + k);
}
Assert.True(kinds.Count <= 2);
Assert.Contains("SET", kinds);
if (kinds.Count == 2 && !kinds.Contains("SELECT"))
......
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