style: format noop waker mpsc tests

This commit is contained in:
fanyang
2026-06-30 21:23:46 +08:00
parent cb35c17503
commit 3de3fabcbc
+4 -2
View File
@@ -303,7 +303,8 @@ mod tests {
for i in 0..1000000 { for i in 0..1000000 {
tokio::time::sleep(tokio::time::Duration::from_millis(50)).await; tokio::time::sleep(tokio::time::Duration::from_millis(50)).await;
let a = sink1 let a = sink1
.send_async(ZCPacket::new_with_payload("hello".as_bytes())).await; .send_async(ZCPacket::new_with_payload("hello".as_bytes()))
.await;
if a.is_err() { if a.is_err() {
tracing::info!(?a, "t2 exit with err"); tracing::info!(?a, "t2 exit with err");
break; break;
@@ -322,7 +323,8 @@ mod tests {
for i in 0..1000000 { for i in 0..1000000 {
tokio::time::sleep(tokio::time::Duration::from_millis(100)).await; tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
let a = sink2 let a = sink2
.send_async(ZCPacket::new_with_payload("hello2".as_bytes())).await; .send_async(ZCPacket::new_with_payload("hello2".as_bytes()))
.await;
if a.is_err() { if a.is_err() {
tracing::info!(?a, "t3 exit with err"); tracing::info!(?a, "t3 exit with err");
break; break;