Skip to content

Commit 4038775

Browse files
lym953claude
andcommitted
fix(lint): add clippy::unwrap_used allow to new async tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6bc514d commit 4038775

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bottlecap/src/traces/trace_processor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,7 @@ mod tests {
13851385
/// `_dd.compute_stats` to "0" in the payload tags, overriding the value set by
13861386
/// `get_function_tags_map`, and that `send_processed_traces` does not generate stats.
13871387
#[tokio::test]
1388+
#[allow(clippy::unwrap_used)]
13881389
async fn test_process_traces_client_computed_stats_overrides_compute_stats_tag() {
13891390
use crate::traces::stats_concentrator_service::StatsConcentratorHandle;
13901391
use crate::traces::stats_generator::StatsGenerator;
@@ -1488,6 +1489,7 @@ mod tests {
14881489
/// Verifies that even when `compute_trace_stats_on_extension` is true, no stats are
14891490
/// generated if `client_computed_stats` is also true (tracer has already computed them).
14901491
#[tokio::test]
1492+
#[allow(clippy::unwrap_used)]
14911493
async fn test_send_processed_traces_skips_stats_when_client_computed_stats() {
14921494
use crate::traces::stats_concentrator_service::StatsConcentratorHandle;
14931495
use crate::traces::stats_generator::StatsGenerator;

0 commit comments

Comments
 (0)