Skip to content

Commit

Permalink
fix: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Breeze-P committed Nov 1, 2024
1 parent 38ec807 commit b68dd57
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/fd_pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,7 @@ mod tests {
use crate::consumer::session_manager::SessionManager;
use crate::fd_pass::FdRecvServer;
use crate::ringbuf::min_ringbuf_len;
<<<<<<< HEAD
=======
use crate::ringbuf::page_align_size;
>>>>>>> 3ab2ddb (fix: unit test)

#[tokio::test]
async fn test_fd_pass() {
Expand Down Expand Up @@ -277,11 +274,7 @@ mod tests {
let path_c = path.clone();
let join = tokio::spawn(async move {
let file = tempfile::tempfile().unwrap();
<<<<<<< HEAD
file.set_len(min_ringbuf_len()).unwrap();
=======
file.set_len(page_align_size(min_ringbuf_len())).unwrap();
>>>>>>> 3ab2ddb (fix: unit test)
let client_id = format!("client_id_{}", i);
send_fd(path_c, &file, client_id).await.unwrap();
});
Expand Down

0 comments on commit b68dd57

Please sign in to comment.