Skip to content

Commit

Permalink
remove invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbradellis committed Oct 1, 2022
1 parent ce22bc0 commit ff54fcc
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
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;
import com.newrelic.api.agent.HeaderType;
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;

Expand Down Expand Up @@ -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 {

Expand Down

0 comments on commit ff54fcc

Please sign in to comment.