Skip to content

Commit a09082f

Browse files
committed
docs: note current-thread requirement for logging isolation test
1 parent 99d45b8 commit a09082f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lambda-runtime/src/runtime.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,8 @@ mod endpoint_tests {
936936
}
937937

938938
#[cfg(feature = "concurrency-tokio")]
939+
// Must be current-thread (the default) so the thread-local tracing
940+
// subscriber set via `set_default` propagates to spawned tasks.
939941
#[tokio::test]
940942
async fn test_concurrent_structured_logging_isolation() -> Result<(), Error> {
941943
use std::collections::HashSet;

0 commit comments

Comments
 (0)