Skip to content

Commit

Permalink
test: Adjust timing for azure function tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr committed Jan 30, 2025
1 parent 66ab25a commit f3e8ab3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected AzureFunctionHttpTriggerTestsBase(TFixture fixture, ITestOutputHelper
configModifier
.ForceTransactionTraces()
.ConfigureFasterTransactionTracesHarvestCycle(20)
.ConfigureFasterMetricsHarvestCycle(15)
.ConfigureFasterMetricsHarvestCycle(25)
.ConfigureFasterSpanEventsHarvestCycle(15)
.SetLogLevel("finest");

Expand Down Expand Up @@ -76,6 +76,7 @@ protected AzureFunctionHttpTriggerTestsBase(TFixture fixture, ITestOutputHelper
_fixture.Get("api/httpTriggerFunctionUsingSimpleInvocation"); // make a second call to verify coldStart is not sent
}
_fixture.AgentLog.WaitForLogLines(AgentLogBase.TransactionSampleLogLineRegex, TimeSpan.FromMinutes(2));
_fixture.AgentLog.WaitForLogLines(AgentLogBase.MetricDataLogLineRegex, TimeSpan.FromMinutes(2));
}
);

Expand Down

0 comments on commit f3e8ab3

Please sign in to comment.