Skip to content

Commit 0e78da3

Browse files
authored
test: Minor tweak for CosmosDB tests to wait for more metric harvest cycles (#3521)
1 parent 4f5496e commit 0e78da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Agent/IntegrationTests/UnboundedIntegrationTests/CosmosDB/CosmosDBTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected CosmosDBTestsBase(TFixture fixture, ITestOutputHelper output) : base(f
5757
exerciseApplication: () =>
5858
{
5959
_fixture.AgentLog.WaitForLogLine(AgentLogBase.AgentConnectedLogLineRegex, TimeSpan.FromMinutes(1));
60-
_fixture.AgentLog.WaitForLogLine(AgentLogBase.MetricDataLogLineRegex, TimeSpan.FromMinutes(1));
60+
_fixture.AgentLog.WaitForLogLines(AgentLogBase.MetricDataLogLineRegex, TimeSpan.FromMinutes(2), 2);
6161
_fixture.AgentLog.WaitForLogLine(AgentLogBase.SqlTraceDataLogLineRegex, TimeSpan.FromMinutes(1));
6262
}
6363
);

0 commit comments

Comments
 (0)