From 5c5467fc4268c38c27c9005e073dff4766b09a5c Mon Sep 17 00:00:00 2001 From: Marco Rossignoli Date: Thu, 10 Feb 2022 16:05:11 +0100 Subject: [PATCH] use Async naming convention --- .../Interfaces/Engine/IArtifactProcessingManager.cs | 2 +- .../PostProcessing/ArtifactProcessingManager.cs | 2 +- .../Processors/ArtifactProcessingPostProcessModeProcessor.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.TestPlatform.Common/Interfaces/Engine/IArtifactProcessingManager.cs b/src/Microsoft.TestPlatform.Common/Interfaces/Engine/IArtifactProcessingManager.cs index 478e8857cf..b9724b5dd0 100644 --- a/src/Microsoft.TestPlatform.Common/Interfaces/Engine/IArtifactProcessingManager.cs +++ b/src/Microsoft.TestPlatform.Common/Interfaces/Engine/IArtifactProcessingManager.cs @@ -10,5 +10,5 @@ namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine; internal interface IArtifactProcessingManager { void CollectArtifacts(TestRunCompleteEventArgs testRunCompleteEventArgs, string runSettingsXml); - Task PostProcessArtifacts(); + Task PostProcessArtifactsAsync(); } diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/PostProcessing/ArtifactProcessingManager.cs b/src/Microsoft.TestPlatform.CrossPlatEngine/PostProcessing/ArtifactProcessingManager.cs index 979c8f84da..e6fb3c7729 100644 --- a/src/Microsoft.TestPlatform.CrossPlatEngine/PostProcessing/ArtifactProcessingManager.cs +++ b/src/Microsoft.TestPlatform.CrossPlatEngine/PostProcessing/ArtifactProcessingManager.cs @@ -105,7 +105,7 @@ public void CollectArtifacts(TestRunCompleteEventArgs testRunCompleteEventArgs, } } - public async Task PostProcessArtifacts() + public async Task PostProcessArtifactsAsync() { if (!_featureFlag.IsEnabled(FeatureFlag.ARTIFACTS_POSTPROCESSING)) { diff --git a/src/vstest.console/Processors/ArtifactProcessingPostProcessModeProcessor.cs b/src/vstest.console/Processors/ArtifactProcessingPostProcessModeProcessor.cs index bea6778231..179f5ab6e0 100644 --- a/src/vstest.console/Processors/ArtifactProcessingPostProcessModeProcessor.cs +++ b/src/vstest.console/Processors/ArtifactProcessingPostProcessModeProcessor.cs @@ -119,7 +119,7 @@ public ArgumentProcessorResult Execute() // We don't have async execution at the moment for the argument processors. // Anyway post processing could involve a lot of I/O and so we make some space // for some possible parallelization async/await and fair I/O for the callee. - _artifactProcessingManage.PostProcessArtifacts().Wait(); + _artifactProcessingManage.PostProcessArtifactsAsync().Wait(); return ArgumentProcessorResult.Success; } catch (Exception e)