Remove assertion that doesn't work in macOS HVF

pull/1022/head
Tamir Duberstein 4 months ago
parent 59a153076a
commit f498a1b7a9

@ -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

Loading…
Cancel
Save