Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pingora-core/src/connectors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ mod tests {
// make a new connection to mock uds
let mut stream = connector.new_stream(&peer).await.unwrap();
let mut buf = [0; 9];
let _ = stream.read(&mut buf).await.unwrap();
stream.read_exact(&mut buf).await.unwrap();
assert_eq!(&buf, b"it works!");

// Test connection reuse by releasing and getting the stream back
Expand Down
Loading