diff --git a/Cargo.toml b/Cargo.toml index c1b1590..32771a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,9 @@ keywords = ["dag", "async", "task", "parallel", "executor"] categories = ["asynchronous", "concurrency", "data-structures"] exclude = [".claude/", ".jj/", "dagx-spec.md"] +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } + [dependencies] futures = "0.3" parking_lot = "0.12" diff --git a/tests/arc_tests.rs b/tests/arc_tests.rs index c60b673..4fda700 100644 --- a/tests/arc_tests.rs +++ b/tests/arc_tests.rs @@ -1092,6 +1092,7 @@ async fn test_arc_mixed_with_non_arc() { /// Test 16: Arc in parallel execution paths #[tokio::test] +#[cfg_attr(tarpaulin, ignore)] // Timing tests are unreliable with instrumentation overhead async fn test_arc_parallel_execution() { struct SharedProducer; diff --git a/tests/boundaries/deep_chains.rs b/tests/boundaries/deep_chains.rs index ddf5125..7fc790c 100644 --- a/tests/boundaries/deep_chains.rs +++ b/tests/boundaries/deep_chains.rs @@ -304,7 +304,7 @@ async fn test_zigzag_dependencies() -> DagResult<()> { } #[tokio::test] -#[ignore] // This test is extremely resource intensive +#[cfg_attr(tarpaulin, ignore)] // This test is extremely resource intensive async fn test_10000_level_chain_stress() -> DagResult<()> { // Ultimate deep chain test let dag = DagRunner::new(); diff --git a/tests/boundaries/large_scale.rs b/tests/boundaries/large_scale.rs index 20351c9..e3b5768 100644 --- a/tests/boundaries/large_scale.rs +++ b/tests/boundaries/large_scale.rs @@ -213,7 +213,7 @@ async fn test_10000_node_linear_chain_segments() -> DagResult<()> { } #[tokio::test] -#[ignore] // This test is very resource intensive +#[cfg_attr(tarpaulin, ignore)] // This test is very resource intensive async fn test_100000_nodes_stress() -> DagResult<()> { // Ultimate stress test: 100,000 nodes let dag = DagRunner::new();