From 4a893d8df223981a42e29f678f12576efd945f17 Mon Sep 17 00:00:00 2001 From: stan-sz <37585349+stan-sz@users.noreply.github.com> Date: Fri, 7 Mar 2025 08:07:53 +0100 Subject: [PATCH] Fix trace in DataCollectionRequestSender.cs String join: ``` ..., vstest.console.exe, DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult: Send BeforeTestRunStart message with settingsXml ... and sources System.Collections.Generic.List`1[System.String]: ``` --- .../DataCollectionRequestSender.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.TestPlatform.CommunicationUtilities/DataCollectionRequestSender.cs b/src/Microsoft.TestPlatform.CommunicationUtilities/DataCollectionRequestSender.cs index 92c56960d6..a804beb0a0 100644 --- a/src/Microsoft.TestPlatform.CommunicationUtilities/DataCollectionRequestSender.cs +++ b/src/Microsoft.TestPlatform.CommunicationUtilities/DataCollectionRequestSender.cs @@ -103,7 +103,7 @@ public void SendTestHostLaunched(TestHostLaunchedPayload testHostLaunchedPayload var isDataCollectionStarted = false; BeforeTestRunStartResult? result = null; - EqtTrace.Verbose("DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult: Send BeforeTestRunStart message with settingsXml {0} and sources {1}: ", settingsXml, sources.ToString()); + EqtTrace.Verbose("DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult: Send BeforeTestRunStart message with settingsXml {0} and sources {1}: ", settingsXml, string.Join(" ", sources)); var payload = new BeforeTestRunStartPayload {