From 11a5e1618d82d2006ffd88d5274121faaa1aebe7 Mon Sep 17 00:00:00 2001 From: discord9 <55937128+discord9@users.noreply.github.com> Date: Fri, 12 Dec 2025 14:27:57 +0800 Subject: [PATCH] test: test_tracker_cleanup skip non linux (#7398) test: skip non linux Signed-off-by: discord9 --- src/meta-srv/src/gc/mock/integration.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meta-srv/src/gc/mock/integration.rs b/src/meta-srv/src/gc/mock/integration.rs index a64fca1e19..484871bb5e 100644 --- a/src/meta-srv/src/gc/mock/integration.rs +++ b/src/meta-srv/src/gc/mock/integration.rs @@ -135,6 +135,9 @@ async fn test_full_gc_workflow() { ); } +/// Due to https://github.com/rust-lang/rust/issues/100141 can't have Instant early than process start time on non-linux OS +/// This is fine since in real usage instant will always be after process start time +#[cfg(target_os = "linux")] #[tokio::test] async fn test_tracker_cleanup() { init_default_ut_logging();