//! Test utilities for memory metrics tests
//!
//! This module provides common utilities for testing memory metrics functionality,
//! including a global test mutex to ensure test isolation.
use Mutex;
/// Global test mutex to ensure memory metrics tests run in isolation
///
/// Since memory metrics uses a global static collector, tests must be synchronized
/// to prevent interference when running in parallel.
pub static MEMORY_METRICS_TEST_MUTEX: = new;
/// Helper macro to lock the test mutex with proper error handling