Skip to content

Commit

Permalink
test: Fix a .NET 8 integration test flicker in EnvironmentTests (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr authored Feb 29, 2024
1 parent fe659fe commit 4efbbcd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public EnvironmentTests(T fixture, ITestOutputHelper output)
_fixture.TestLogger = output;
_fixture.Actions
(
setupConfiguration: () =>
{
var configPath = fixture.DestinationNewRelicConfigFilePath;
var configModifier = new NewRelicConfigModifier(configPath);

configModifier.DisableEventListenerSamplers(); // Required for .NET 8 to pass.

},
exerciseApplication: ExerciseApplication
);
_fixture.Initialize();
Expand Down

0 comments on commit 4efbbcd

Please sign in to comment.