Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

test(cli): restore blocking mode on accepted TCP socket in backup_download test

Vinícius DS Andrade044ad5f92570
diff --git a/crates/ai-memory-cli/tests/suite/backup_download.rs b/crates/ai-memory-cli/tests/suite/backup_download.rs
index 8b55a73f..4a25edd6 100644
--- a/crates/ai-memory-cli/tests/suite/backup_download.rs
+++ b/crates/ai-memory-cli/tests/suite/backup_download.rs
@@ -27,6 +27,7 @@ fn download(home: &Path, dest: &Path, export: bool, complete: bool) -> Output {
Err(error) => panic!("accepting archive request: {error}"),
}
};
+ socket.set_nonblocking(false).unwrap();
socket
.set_read_timeout(Some(Duration::from_secs(10)))
.unwrap();