From f498a1b7a9a607e5a79bd53695f7712e90f774dd Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 25 Sep 2024 13:45:11 -0400 Subject: [PATCH] Remove assertion that doesn't work in macOS HVF --- test/integration-test/src/tests/info.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/integration-test/src/tests/info.rs b/test/integration-test/src/tests/info.rs index 7774709c..6a84100d 100644 --- a/test/integration-test/src/tests/info.rs +++ b/test/integration-test/src/tests/info.rs @@ -216,10 +216,6 @@ fn test_prog_stats() { prog.attach("syscalls", "sys_enter_bpf").unwrap(); let test_prog = prog.info().unwrap(); - kernel_assert!( - test_prog.run_time().as_nanos() > 0, - KernelVersion::new(5, 1, 0) - ); kernel_assert!(test_prog.run_count() > 0, KernelVersion::new(5, 1, 0)); // Restore to previous state