mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-30 00:00:16 +02:00
net: enable more Miri tests for TCP socket (#8180)
This commit is contained in:
@@ -1155,7 +1155,6 @@ rt_test! {
|
||||
|
||||
#[cfg(not(target_os = "wasi"))] // Wasi does not support bind
|
||||
#[test]
|
||||
#[cfg_attr(miri, ignore)] // Miri currently only processes host I/O events when switching into the scheduler: See https://github.com/rust-lang/miri/issues/5047
|
||||
fn local_set_client_server_block_on() {
|
||||
let rt = rt();
|
||||
let (tx, rx) = mpsc::channel();
|
||||
@@ -1169,7 +1168,6 @@ rt_test! {
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "wasi"))] // Wasi does not support bind
|
||||
#[cfg_attr(miri, ignore)] // Miri currently only processes host I/O events when switching into the scheduler: See https://github.com/rust-lang/miri/issues/5047
|
||||
async fn client_server_local(tx: mpsc::Sender<()>) {
|
||||
let server = assert_ok!(TcpListener::bind("127.0.0.1:0").await);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user