Skip to content

Commit 2079045

Browse files
immanuwellilstam
authored andcommitted
test(snapshot): remove leftover debug println
The debug println was added during the bincode to bitcode migration to inspect the serialized snapshot data length while troubleshooting the test. The test now validates the snapshot format version directly, and the extra output is no longer useful. Remove it so the test stays quiet and focused. Signed-off-by: immanuwell <pchpr.00@list.ru>
1 parent 36d6241 commit 2079045

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/vmm/src/snapshot/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,6 @@ mod tests {
251251
let mut snapshot_data = Vec::new();
252252
snapshot.save(&mut snapshot_data).unwrap();
253253

254-
// Debug: print the length to understand what's happening
255-
println!("Snapshot data length: {}", snapshot_data.len());
256-
257254
assert_eq!(
258255
get_format_version(&mut std::io::Cursor::new(&snapshot_data)).unwrap(),
259256
SNAPSHOT_VERSION

0 commit comments

Comments
 (0)