From ff54fcc9fbd4360080f0fb0c8d76d6538ebcbbc4 Mon Sep 17 00:00:00 2001 From: tbradellis Date: Fri, 30 Sep 2022 18:18:04 -0700 Subject: [PATCH] remove invalid test --- .../java/test/newrelic/test/agent/ExpectedErrorsTest.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/functional_test/src/test/java/test/newrelic/test/agent/ExpectedErrorsTest.java b/functional_test/src/test/java/test/newrelic/test/agent/ExpectedErrorsTest.java index 32a856e288..ff4341b55a 100644 --- a/functional_test/src/test/java/test/newrelic/test/agent/ExpectedErrorsTest.java +++ b/functional_test/src/test/java/test/newrelic/test/agent/ExpectedErrorsTest.java @@ -10,7 +10,6 @@ import com.newrelic.agent.MetricNames; import com.newrelic.agent.TransactionData; import com.newrelic.agent.TransactionDataList; -import com.newrelic.agent.errors.ErrorServiceImpl; import com.newrelic.agent.metric.MetricName; import com.newrelic.agent.service.ServiceFactory; import com.newrelic.agent.stats.StatsEngine; @@ -18,7 +17,6 @@ import com.newrelic.api.agent.NewRelic; import com.newrelic.api.agent.Response; import com.newrelic.api.agent.Trace; -import org.junit.Assert; import org.junit.Test; import test.newrelic.EnvironmentHolderSettingsGenerator; @@ -225,15 +223,9 @@ public void testNoticeErrorAPIExpectedViaConfig() throws Exception { StatsEngine statsEngine = holder.getStatsEngine(); assertEquals(0, transactionList.size()); - ErrorServiceImpl errorService = (ErrorServiceImpl) ServiceFactory.getRPMService().getErrorService(); - assertEquals(2, statsEngine.getStats("ErrorsExpected/all").getCallCount()); assertEquals(1, statsEngine.getStats("Errors/all").getCallCount()); - //Review this with someone on Monday - //Assert.assertEquals("incorrect error count", 3, errorService.getTracedErrorsCount()); - - verifyExpectedErrorSupportabilityApiCalls(statsEngine, 0, 0, 1, 1); } finally {