From f4c121ab223d700ee8eed24c137f37ebad7dce37 Mon Sep 17 00:00:00 2001 From: Jakub Chocholowicz Date: Fri, 19 Jun 2020 21:40:14 +0200 Subject: [PATCH] Fix acceptance tests --- .../TranslationLayerTests/CodeCoverageTests.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs b/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs index 54cf57f5cb..6818593723 100644 --- a/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs +++ b/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs @@ -164,10 +164,7 @@ public async Task TestRunWithCodeCoverageAndFinalizationCancelled(RunnerInfo run await finalization; multiTestRunFinalizationEventHandler.EnsureSuccess(); - if(testEnvironment.RunnerFramework.Equals(IntegrationTestBase.DesktopRunnerFramework)) - { - Assert.AreEqual(0, this.multiTestRunFinalizationEventHandler.Attachments.Count); - } + Assert.AreEqual(1000, this.multiTestRunFinalizationEventHandler.Attachments.Count); } [TestMethod]