From 2169801064fd7e504e89b2d6d184142b6ac7bec3 Mon Sep 17 00:00:00 2001 From: Alexey Rodionov Date: Tue, 13 Oct 2020 11:07:31 -0700 Subject: [PATCH] Fixing a test/bad merge --- .../WebHostEndToEnd/CSharpEndToEndTests.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/WebJobs.Script.Tests.Integration/WebHostEndToEnd/CSharpEndToEndTests.cs b/test/WebJobs.Script.Tests.Integration/WebHostEndToEnd/CSharpEndToEndTests.cs index f3a4523d24..49c115ae99 100644 --- a/test/WebJobs.Script.Tests.Integration/WebHostEndToEnd/CSharpEndToEndTests.cs +++ b/test/WebJobs.Script.Tests.Integration/WebHostEndToEnd/CSharpEndToEndTests.cs @@ -111,10 +111,6 @@ await TestHelpers.Await(() => logs.Single(p => p.EndsWith($"From TraceWriter: {guid1}")); logs.Single(p => p.EndsWith($"From ILogger: {guid2}")); - // Make sure we get a metric logged from both ILogger and TraceWriter - var key = MetricsEventManager.GetAggregateKey(MetricEventNames.FunctionUserLog, "Scenarios"); - Assert.Equal(2, Fixture.MetricsLogger.LoggedEvents.Where(p => p == key).Count()); - // Make sure we've gotten a log from the aggregator IEnumerable getAggregatorLogs() => Fixture.Host.GetScriptHostLogMessages().Where(p => p.Category == LogCategories.Aggregator);