mirror of https://github.com/fafhrd91/actix-net
test: fix uring test
This commit is contained in:
parent
b6677d50c9
commit
7878cbc956
|
@ -358,7 +358,7 @@ fn tokio_uring_arbiter() {
|
|||
let f = tokio_uring::fs::File::create("test.txt").await.unwrap();
|
||||
let buf = b"Hello World!";
|
||||
|
||||
let (res, _) = f.write_at(&buf[..], 0).await;
|
||||
let (res, _) = f.write_all_at(&buf[..], 0).await;
|
||||
assert!(res.is_ok());
|
||||
|
||||
f.sync_all().await.unwrap();
|
||||
|
|
Loading…
Reference in New Issue