diff --git a/eden/mononoke/common/memory/src/lib.rs b/eden/mononoke/common/memory/src/lib.rs index 925ffac2b9b9b..9f976904b8519 100644 --- a/eden/mononoke/common/memory/src/lib.rs +++ b/eden/mononoke/common/memory/src/lib.rs @@ -57,13 +57,6 @@ fn populate_stats(max_memory: usize, used_mem: usize) -> MemoryStats { mod test { use super::*; - #[test] - fn test_get_stats_no_max_set() { - let stats = get_stats(); - assert!(stats.is_err()); - assert_eq!(stats.err().unwrap(), "max_memory is not set"); - } - #[test] fn test_get_stats() { let old = MAX_MEMORY.load(Ordering::Relaxed);