Skip to content

Commit 2fb4ad9

Browse files
committed
chore: disable miri for tests
1 parent 9852727 commit 2fb4ad9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/buf.rs

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ mod tests {
7272
use hyper::body::{Buf, Bytes};
7373
use std::time::Duration;
7474

75+
#[cfg(not(miri))]
7576
#[tokio::test]
7677
async fn test_get_notified_immediately() {
7778
let buf = Bytes::from_static(b"abc");
@@ -80,6 +81,7 @@ mod tests {
8081
signaler.wait_till_eos().await;
8182
}
8283

84+
#[cfg(not(miri))]
8385
#[tokio::test]
8486
async fn test_get_notified_after_1ms() {
8587
let buf = Bytes::from_static(b"abc");

0 commit comments

Comments
 (0)