Skip to content

Commit

Permalink
Fix non deterministic test (for real for real) (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Draggu authored Dec 12, 2024
1 parent dc6ffe5 commit 1d80423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/e2e/support/mock_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ impl MockClient {
loop {
let message = self.recv()?.ok_or(RecvError::NoMessage)?;
if let Some(ret) = predicate(&message) {
self.trace.pop();
return Ok(ret);
}
}
Expand Down

0 comments on commit 1d80423

Please sign in to comment.