Skip to content

Commit

Permalink
update comment in test
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jan 10, 2025
1 parent 7aadd19 commit af21b63
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bindings_ffi/src/mls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5570,6 +5570,10 @@ mod tests {
let send_futures = vec![
alix_conversation.send("Message 1".as_bytes().to_vec()),
alix_conversation.send("Message 2".as_bytes().to_vec()),
alix_conversation.send("Message 3".as_bytes().to_vec()),
alix_conversation.send("Message 4".as_bytes().to_vec()),
alix_conversation.send("Message 5".as_bytes().to_vec()),
alix_conversation.send("Message 6".as_bytes().to_vec()),
];

// Send all messages in parallel and collect results
Expand All @@ -5578,7 +5582,7 @@ mod tests {
// Check each result and print any errors
for (i, result) in results.iter().enumerate() {
if let Err(e) = result {
// Getting Error sending message 2: GroupError(Storage(DieselResult(DatabaseError(Unknown, "database is locked"))))
// No longer erroring here: GroupError(Storage(DieselResult(DatabaseError(Unknown, "database is locked"))))
println!("Error sending message {}: {:?}", i + 1, e);
}
}
Expand All @@ -5598,6 +5602,6 @@ mod tests {
.await
.unwrap();

assert_eq!(messages.len(), 3);
assert_eq!(messages.len(), 7);
}
}

0 comments on commit af21b63

Please sign in to comment.