-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
230 optional iouring #252
230 optional iouring #252
Conversation
Closes #230 |
@@ -246,7 +247,17 @@ async fn test_work_dir_lock() { | |||
|
|||
let storage = res_one.unwrap(); | |||
let result = waitpid(child, None); | |||
#[cfg(not(target_os = "macos"))] | |||
assert_eq!(Ok(WaitStatus::Exited(child, 0)), result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is incorrect. fork
splits test engine as well, so the forked process can continue running other tests. Probably, that is the reason why the exit code is 0
(on panic it should not be 0)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, update to use rusty-fork
crate (https://docs.rs/rusty-fork/0.3.0/rusty_fork/fn.fork.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, lets do this in a separate request. I added a new issue: #254 and assigned it to you
Co-authored-by: ikopylov <[email protected]>
Co-authored-by: ikopylov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #230