Skip to content

Commit 2fb3270

Browse files
Apply suggestions from code review
Co-authored-by: Zach Montoya <[email protected]>
1 parent ef36cfc commit 2fb3270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_config_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,12 @@ CONFIG_MANAGER_TEST("remote configuration handling") {
486486
{
487487
__LINE__,
488488
"invalid value for `tags` field",
489-
R"("tracing_sampling_rules": [{"service": "bar", "resource": "yo", "sample_rate": "0.5", "provenance": "customer", "tags": "tag1"}])",
489+
R"("tracing_sampling_rules": [{"service": "bar", "resource": "yo", "sample_rate": 0.2, "provenance": "customer", "tags": "tag1"}])",
490490
},
491491
{
492492
__LINE__,
493493
"invalid second rules",
494-
R"("tracing_sampling_rules": [{"service": "bar", "resource": "yo", "sample_rate": "0.5", "provenance": "customer"}, {"foo": "bar"}])",
494+
R"("tracing_sampling_rules": [{"service": "bar", "resource": "yo", "sample_rate": 0.2, "provenance": "customer"}, {"foo": "bar"}])",
495495
},
496496
}));
497497

0 commit comments

Comments
 (0)