Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
test(recording): compare a fixed four-worker hash pool against sequential hashes
Richie McIlroyafb58b6fef98
diff --git a/crates/recording/src/recovery.rs b/crates/recording/src/recovery.rsindex 2416962a6..b130c3d26 100644--- a/crates/recording/src/recovery.rs+++ b/crates/recording/src/recovery.rs@@ -6433,6 +6433,10 @@ mod transactional_recovery_tests {let mut files = fragments.clone();files.push(dir.path().join("recording-meta.json"));let sequential = hash_recovery_files(dir.path(), &files).unwrap();+ assert_eq!(+ hash_recovery_files_parallel(dir.path(), &files, 4).unwrap(),+ sequential+ );for (path, hash) in &sequential {assert_eq!(snapshot.get(path), Some(hash));}