[FFE] Ruggerize integration tests Remote Config retrieval#8129
[FFE] Ruggerize integration tests Remote Config retrieval#8129daniel-romano-DD merged 2 commits intomasterfrom
Conversation
| return; | ||
| } | ||
| Console.WriteLine($"Waiting for RC..."); | ||
| System.Threading.Thread.Sleep(1000); |
There was a problem hiding this comment.
nit, threads are precious in CI, we should prob use await Task.Delay(1_000) 😄
| if (e.Value.PathAndQuery.EndsWith("api/v2/exposures")) | ||
| { | ||
| Interlocked.Increment(ref eventsReceived); | ||
| e.Value.Headers["Content-Encoding"].Should().Be(MimeTypes.Json); |
There was a problem hiding this comment.
Did we change something here? Because it looks like this probably was failing before, but it wasn't causing the test to fail :sus: I'm assuming that exceptions here are just swallowed?
There was a problem hiding this comment.
Yep, the assert was failing but not halting the process, as it was happening in the RC handler. It was just showing an ugly message in the console output
sameerank
left a comment
There was a problem hiding this comment.
Thanks for addressing this test flakiness!
BenchmarksBenchmark execution time: 2026-02-02 17:06:26 Comparing candidate commit ae61d1d in PR branch Found 8 performance improvements and 11 performance regressions! Performance is the same for 158 metrics, 15 unstable metrics. scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0
scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0
scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0
scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0
scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1
scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1
scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0
scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1
scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0
scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1
scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1
scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0
scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1
|
Summary of changes
Increase timeout and change logic order to try to minimize test flakiness
Reason for change
Flakiness is bad
Implementation details
Test coverage
Other details