From 92669673bcb21b7954b0864838428a4f566e363f Mon Sep 17 00:00:00 2001 From: James A Sutherland Date: Thu, 21 Nov 2024 10:31:13 -0600 Subject: [PATCH] Update QueryCachingCrossServerTests.cs Fixup for NUnit text output API change --- Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs b/Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs index 7ad3646bc9..955e6c357d 100644 --- a/Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs +++ b/Rdmp.Core.Tests/QueryCaching/QueryCachingCrossServerTests.cs @@ -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),