Skip to content

Commit

Permalink
test: Timing adjustment in ExpectedErrorTests (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr authored Jan 16, 2024
1 parent afb6352 commit 6c3dae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ExpectedErrorTests(RemoteServiceFixtures.AspNetCoreMvcBasicRequestsFixtur
var configModifier = new NewRelicConfigModifier(configPath);
configModifier.ConfigureFasterMetricsHarvestCycle(10);
configModifier.ConfigureFasterSpanEventsHarvestCycle(10);
configModifier.ConfigureFasterErrorTracesHarvestCycle(10);
configModifier.ConfigureFasterErrorTracesHarvestCycle(12); // long enough to ensure metric harvest runs before error traces
configModifier.SetOrDeleteDistributedTraceEnabled(true);
configModifier.AddExpectedStatusCodes("410-450")
.AddExpectedErrorMessages("System.Exception", new List<string> { "test exception"})
Expand Down

0 comments on commit 6c3dae7

Please sign in to comment.