Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ public async Task SubmitsTraces()

const int expectedSpanCount = 24;
const string filename = "Iast.GrpcDotNetTests.BodyPropagation.SubmitsTraces";

// No meta structs support for this test as vulnerabilities can be triggered at the start of the app
// The tracer could possibly not have the time to load the mock agent configuration
using var agent = EnvironmentHelper.GetMockAgent();
agent.Configuration.SpanMetaStructs = false;
using var process = await RunSampleAndWaitForExit(agent);

var spans = agent.WaitForSpans(expectedSpanCount);
var spansFiltered = spans.Where(x => x.Type == SpanTypes.Web).ToList();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 2.0
},
MetaStruct: {
iast:
}
},
{
Expand Down Expand Up @@ -116,9 +113,6 @@
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 2.0
},
MetaStruct: {
iast:
}
},
{
Expand Down Expand Up @@ -177,9 +171,6 @@
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 2.0
},
MetaStruct: {
iast:
}
},
{
Expand Down Expand Up @@ -238,9 +229,6 @@
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 2.0
},
MetaStruct: {
iast:
}
}
]
Loading