Skip to content

Commit 3e94fb9

Browse files
authored
ci: Add missing test namespace names to workflow (#3529)
* Add missing test namespace names to CI * Try to fix test failure * Update assertion to make test pass
1 parent db48d08 commit 3e94fb9

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/all_solutions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,17 +242,20 @@ jobs:
242242
"DataTransmission",
243243
"DistributedTracing",
244244
"Errors",
245+
"Grpc",
245246
"HttpClientInstrumentation",
246247
"HybridHttpContextStorage",
247248
"InfiniteTracing",
248249
"LLM",
249250
"Logging.AuditLog",
250251
"Logging.ContextData",
251252
"Logging.HsmAndCsp",
253+
"Logging.Labels",
252254
"Logging.LocalDecoration",
253255
"Logging.LogLevelDetection",
254256
"Logging.MaxSamplesStored",
255257
"Logging.MetricsAndForwarding",
258+
"Logging.StructuredLogArgContextData",
256259
"Logging.ZeroMaxSamplesStored",
257260
"MassTransit",
258261
"OpenTelemetry",
@@ -285,6 +288,7 @@ jobs:
285288
"MySql",
286289
"NServiceBus",
287290
"NServiceBus5",
291+
"OpenSearch",
288292
"Oracle",
289293
"Postgres",
290294
"RabbitMq",

tests/Agent/IntegrationTests/IntegrationTests/WCF/WCFDTHeaderReplacementTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using NewRelic.Agent.IntegrationTests.Shared.Wcf;
1010
using Xunit;
1111

12-
namespace NewRelic.Agent.IntegrationTests.WCF;
12+
namespace NewRelic.Agent.IntegrationTests.WCF.Client.Self;
1313

1414
/// <summary>
1515
/// Verifies that when outbound WCF HTTP requests already have DT headers
@@ -65,7 +65,9 @@ public void AgentReplacesExistingDTHeaders()
6565

6666
var expectedMetrics = new List<Assertions.ExpectedMetric>
6767
{
68-
new() { metricName = "Supportability/TraceContext/Create/Success", CallCountAllHarvests = 1 },
68+
// One create from the external call used to start the agent during WCF service initialization,
69+
// one create from the call being made by GetDataWithExistingDTHeaders
70+
new() { metricName = "Supportability/TraceContext/Create/Success", CallCountAllHarvests = 2 },
6971
new() { metricName = "Supportability/TraceContext/Accept/Success", CallCountAllHarvests = 1 },
7072
};
7173

tests/Agent/IntegrationTests/SharedApplications/ConsoleMultiFunctionApplicationFW/NetFrameworkLibraries/WCF/WCFClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ public void GetDataWithHeaders()
238238
}
239239

240240
[LibraryMethod]
241+
[Transaction]
241242
public void GetDataWithExistingDTHeaders()
242243
{
243244
using (var scope = new OperationContextScope((_wcfClient as WcfClient).InnerChannel))

0 commit comments

Comments
 (0)