Skip to content

Commit 04e1a17

Browse files
committed
Disable telemetry for curl test that's intended for single requests
1 parent 26a5eac commit 04e1a17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_curl.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ TEST_CASE("parse response headers and body") {
144144
config.defaults.service = "testsvc";
145145
config.logger = logger;
146146
config.agent.http_client = client;
147+
// The http client is a mock that only expects a single request, so
148+
// force only tracing to be sent and exclude telemetry.
149+
config.report_telemetry = false;
147150

148151
const auto finalized = finalize_config(config);
149152
REQUIRE(finalized);

0 commit comments

Comments
 (0)