You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_testLogger?.WriteLine($"{Timestamp} WaitForLogLines Matched expression: {regularExpression} in {timeTaken.Elapsed.TotalSeconds:N1}s.");
169
169
returnmatches;
170
170
}
171
171
172
172
Thread.Sleep(TimeSpan.FromMilliseconds(100));
173
173
}while(timeTaken.Elapsed<timeout);
174
174
175
-
varmessage=$"{Timestamp} Log line did not appear a minimum of {minimumCount} times within {timeout.TotalSeconds} seconds. Expected line expression: {regularExpression}";
175
+
varmessage=$"{Timestamp} Log line did not appear a minimum of {minimumCount} times within {timeout.TotalSeconds:N0} seconds. Expected line expression: {regularExpression}";
TestLogger?.WriteLine("Note: child process is not required for log validation because _remoteApplication.ValidateHostedWebCoreOutput = false");
312
+
}
293
313
}
294
314
else
295
315
{
296
-
TestLogger?.WriteLine("Note: child process is not required for log validation because _remoteApplication.ValidateHostedWebCoreOutput = false");
316
+
TestLogger?.WriteLine("Note: child process application does not redirect output because _remoteApplication.CaptureStandardOutput = false. HostedWebCore validation cannot take place without the standard output. This is common for non-web and self-hosted applications.");
297
317
}
298
-
}
299
-
else
300
-
{
301
-
TestLogger?.WriteLine("Note: child process application does not redirect output because _remoteApplication.CaptureStandardOutput = false. HostedWebCore validation cannot take place without the standard output. This is common for non-web and self-hosted applications.");
Copy file name to clipboardExpand all lines: tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/MultiFunctionApplicationHelpers.csproj
Copy file name to clipboardExpand all lines: tests/Agent/IntegrationTests/SharedApplications/Common/MultiFunctionApplicationHelpers/NetStandardLibraries/MySql/MySqlExerciser.cs
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
// Copyright 2020 New Relic, Inc. All rights reserved.
1
+
// Copyright 2020 New Relic, Inc. All rights reserved.
2
2
// SPDX-License-Identifier: Apache-2.0
3
3
4
+
#if !NET7_0// there is no .NET 7 test for MySql
5
+
4
6
usingSystem.Collections.Generic;
5
7
usingSystem.Linq;
6
8
usingSystem.Runtime.CompilerServices;
@@ -46,7 +48,7 @@ public async Task SingleDateQueryAsync()
0 commit comments