ITADN

grpc::network::tests::test_grpc_max_connection_age may fail

#8265Openevenyag 创建于 2026-06-09
C-enhancement
E
evenyagcommented
### What type of enhancement is this? Other ### What does the enhancement do? The test sometimes fail ``` --- STDERR: tests-integration grpc::network::tests::test_grpc_max_connection_age --- thread 'global-worker' (69312084) panicked at /Users/evenyag/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.14.6/src/transport/server/mod.rs:891:20: `async fn` resumed after completion stack backtrace: 0: __rustc::rust_begin_unwind at /rustc/ac7f9ec7da74d37fd28667c86bf117a39ba5b02a/library/std/src/panicking.rs:689:5 1: core::panicking::panic_fmt at /rustc/ac7f9ec7da74d37fd28667c86bf117a39ba5b02a/library/core/src/panicking.rs:80:14 2: core::panicking::panic_const::panic_const_async_fn_resumed at /rustc/ac7f9ec7da74d37fd28667c86bf117a39ba5b02a/library/core/src/panicking.rs:175:17 3: {async_fn#0} at /Users/evenyag/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.14.6/src/transport/server/mod.rs:891:20 4: poll<&mut tonic::transport::server::connection_timeout_future::{async_fn_env#0}> at /Users/evenyag/.rustup/toolchains/nightly-2026-03-21-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:133:9 5: poll<core::pin::Pin<&mut tonic::transport::server::connection_timeout_future::{async_fn_env#0}>> at /Users/evenyag/.rustup/toolchains/nightly-2026-03-21-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:121:9 6: {closure#1}<tonic::body::Body, hyper_util::rt::tokio::TokioIo<tonic::transport::server::service::io::ServerIo<tokio::net::tcp::stream::TcpStream>>, hyper_util::service::glue::TowerToHyperService<tower::util::map_request::MapRequest<tower::util::boxed_clone::BoxCloneService<http::request::Request<tonic::body::Body>, http::response::Response<tonic::body::Body>, alloc::boxed::Box<(dyn core::error::Error + core::marker::Send + core::marker::Sync), alloc::alloc::Global>>, tonic::transport::server::{impl#2}::serve_internal::{async_fn#0}::{closure_env#1}<tower_layer::stack::Stack<tonic_web::layer::GrpcWebLayer, tower_layer::stack::Stack<tower_layer::stack::Stack<servers::metrics::MetricsMiddlewareLayer, tower_layer::identity::Identity>, tower_layer::identity::Identity>>, tonic::service::router::Routes, tonic::transport::server::incoming::TcpIncoming, futures_util::future::future::Map<tokio::sync::oneshot::Receiver<()>, fn(core::result::Result<(), tokio::sync::oneshot::error::RecvError>)>, tokio::net::tcp::stream::TcpStream, std::io::error::Error, tonic::body::Body>>>, hyper_util::rt::tokio::TokioExecutor> at /Users/evenyag/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/macros/select.rs:705:49 ``` ### Implementation challenges Maybe related to https://github.com/grpc/grpc-rust/issues/2522
1 条评论