Skip to content

Commit 212fc67

Browse files
khanayan123claude
andcommitted
chore: revert unnecessary changes in test_remote_config.cpp
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 315f841 commit 212fc67

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

test/remote_config/test_remote_config.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ auto logger = std::make_shared<NullLogger>();
4747

4848
REMOTE_CONFIG_TEST("initial state payload") {
4949
// Verify the initial payload structure for a remote configuration instance.
50-
auto runtime_id = RuntimeID::generate();
51-
const TracerSignature tracer_signature{runtime_id, "testsvc", "test"};
50+
const TracerSignature tracer_signature{
51+
/* runtime_id = */ RuntimeID::generate(),
52+
/* service = */ "testsvc",
53+
/* environment = */ "test"};
5254

5355
auto tracing_listener = std::make_shared<FakeListener>();
5456
tracing_listener->products = rc::product::APM_TRACING;
@@ -90,8 +92,10 @@ REMOTE_CONFIG_TEST("initial state payload") {
9092
// TODO: test all combination of product and capabilities generation
9193

9294
REMOTE_CONFIG_TEST("response processing") {
93-
auto runtime_id = RuntimeID::generate();
94-
const TracerSignature tracer_signature{runtime_id, "testsvc", "test"};
95+
const TracerSignature tracer_signature{
96+
/* runtime_id = */ RuntimeID::generate(),
97+
/* service = */ "testsvc",
98+
/* environment = */ "test"};
9599

96100
SECTION("ill formatted input",
97101
"inputs not following the Remote Configuration JSON schema should "

0 commit comments

Comments
 (0)