Skip to content

Commit 5c95e5d

Browse files
link04veerbia
authored andcommitted
Adding Delay to CheckForSmoke to Prevent Flakes (#6396)
## Summary of changes There are a couple of `NoException` tests that make use of `CheckForSmoke` failing after app shutdown so adding delay to try testing ## Reason for change To try preventing some flake.
1 parent 3fee433 commit 5c95e5d

File tree

1 file changed

+2
-0
lines changed
  • tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/SmokeTests

1 file changed

+2
-0
lines changed

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/SmokeTests/SmokeTestBase.cs

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ protected async Task CheckForSmoke(bool shouldDeserializeTraces = true, int expe
153153
{
154154
Assert.True(string.IsNullOrEmpty(result.StandardError), $"Expected no errors in smoke test: {result.StandardError}");
155155
}
156+
157+
await Task.Delay(5000);
156158
}
157159
}
158160
}

0 commit comments

Comments
 (0)