Skip to content

Commit c1173af

Browse files
committed
Add exclusion for SSI warning in smoke tests
1 parent 27daf75 commit c1173af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tracer/build/_build/Build.Steps.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,6 +2496,12 @@ string NormalizedPath(AbsolutePath ap)
24962496
knownPatterns.Add(new(".*SingleStepGuardRails::ShouldForceInstrumentationOverride: Found incompatible runtime .NET Core 3.0 or lower", RegexOptions.Compiled));
24972497
knownPatterns.Add(new(".*SingleStepGuardRails::ShouldForceInstrumentationOverride: Found incompatible runtime .NET 6.0.12 and earlier have known crashing bugs", RegexOptions.Compiled));
24982498

2499+
// Make sure we _only_ add this while .NET 10 is in preview (to make sure we don't forget in the final release)
2500+
if (RuntimeInformation.FrameworkDescription.StartsWith(".NET 10.0.0-"))
2501+
{
2502+
knownPatterns.Add(new(@".*SingleStepGuardRails::ShouldForceInstrumentationOverride: Found incompatible runtime .NET 10 or higher.*", RegexOptions.Compiled));
2503+
}
2504+
24992505
// CI Visibility known errors
25002506
knownPatterns.Add(new(@".*The Git repository couldn't be automatically extracted.*", RegexOptions.Compiled));
25012507
knownPatterns.Add(new(@".*DD_GIT_REPOSITORY_URL is set with.*", RegexOptions.Compiled));

0 commit comments

Comments
 (0)