Skip to content
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

Merged
merged 36 commits into from
Mar 24, 2023
Merged

230 optional iouring #252

merged 36 commits into from
Mar 24, 2023

Conversation

idruzhitskiy
Copy link
Contributor

@idruzhitskiy idruzhitskiy commented Mar 13, 2023

Closes #230

@idruzhitskiy idruzhitskiy marked this pull request as ready for review March 15, 2023 08:25
@idruzhitskiy idruzhitskiy requested a review from ikopylov March 15, 2023 08:25
@idruzhitskiy
Copy link
Contributor Author

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);
Copy link
Member

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)

Copy link
Member

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)

Copy link
Member

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

Copy link
Member

@ikopylov ikopylov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ikopylov ikopylov merged commit 656f097 into master Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the io_uring feature optional so that it can be disabled in cargo.toml
2 participants