Skip to content

Commit bb04850

Browse files
committed
stamp: mark the invalid assertion as a comment
1 parent 97980bf commit bb04850

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

crates/node/ops/os/cpus.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,12 @@ mod tests {
285285
let info = cpu_info();
286286
assert!(info.is_some());
287287
let info = info.unwrap();
288-
assert!(!info.is_empty());
288+
// NOTE(Nyannyacha): This may not exist in the docker container.
289+
// assert!(!info.is_empty());
289290
for cpu in info {
290-
assert!(!cpu.model.is_empty());
291+
// NOTE(Nyannyacha): This may not exist in the docker container.
292+
// assert!(!cpu.model.is_empty());
293+
291294
assert!(cpu.times.user > 0);
292295
assert!(cpu.times.sys > 0);
293296
assert!(cpu.times.idle > 0);

0 commit comments

Comments
 (0)