Skip to content

Commit c099f14

Browse files
krallinfacebook-github-bot
authored andcommitted
make a test less strict
Summary: Like it says in the title. This doesn't really need to test the parsing, we have another test for it. Reviewed By: IanChilds Differential Revision: D83578482 fbshipit-source-id: 15e54fe1ef37178a77c8a931ac682e5fd3000de4
1 parent 801bf4f commit c099f14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/buck2_util/src/cgroup_info.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ mod tests {
235235
let memory_stat_path = format!("{}/memory.stat", info.path);
236236

237237
if Path::new(&memory_current_path).exists() && Path::new(&memory_stat_path).exists() {
238-
let memory_info = info.read_memory_stat().unwrap();
239-
assert!(memory_info.anon > 0, "anon should be greater than 0");
238+
info.read_memory_stat().unwrap();
240239
}
241240
}
242241
}

0 commit comments

Comments
 (0)