Skip to content

Commit

Permalink
Update QueryCachingCrossServerTests.cs
Browse files Browse the repository at this point in the history
Fixup for NUnit text output API change
  • Loading branch information
jas88 committed Nov 21, 2024
1 parent 1659f8c commit 9266967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -818,12 +818,12 @@ private static void AssertNoErrors(CohortCompiler compiler)
{
Assert.That(compiler.Tasks, Is.Not.Empty);

TestContext.WriteLine("| Task | Type | State | Error | RowCount | CacheUse |");
TestContext.Out.WriteLine("| Task | Type | State | Error | RowCount | CacheUse |");


var i = 0;
foreach (var kvp in compiler.Tasks.Keys)
TestContext.WriteLine(
TestContext.Out.WriteLine(
$"{i++} - {kvp.ToString()} | {kvp.GetType()} | {kvp.State} | {kvp.CrashMessage} | {kvp.FinalRowCount} | {kvp.GetCachedQueryUseCount()}");

Assert.That(compiler.Tasks.All(static t => t.Key.State == CompilationState.Finished),
Expand Down

0 comments on commit 9266967

Please sign in to comment.