Skip to content

field_filter_spans intermittently fails #993

@jyn514

Description

@jyn514

Bug Report

Version

Master branch (currently a8cc977).

Platform

I noticed the failure on MacOS, but it may appear on other platforms.

Crates

tracing and tracing-subscriber.

Description

Occasionally field_filter_spans fails with the following error:

}
[field_filter_spans] enabled -> true
thread 'field_filter_spans' panicked at '[field_filter_spans] more notifications expected: [Enter(MockSpan { metadata: Expect { name: Some("span3"), level: None, target: None } }), Event(MockEvent { fields: Some(Expect { fields: {"something": Any}, only: false }), parent: None, metadata: Expect { name: None, level: Some(Level(Debug)), target: None } }), Exit(MockSpan { metadata: Expect { name: Some("span3"), level: None, target: None } }), Nothing]', tracing-subscriber/tests/../../tracing/tests/support/subscriber.rs:528:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

See also #991 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions