From 833cb23a05dad8aa64c9d53de3172af27c69e038 Mon Sep 17 00:00:00 2001 From: jackzhhuang Date: Mon, 9 Oct 2023 10:12:15 +0800 Subject: [PATCH] add log for testing test_sync_block_apply_failed_but_connect_success --- sync/src/tasks/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sync/src/tasks/tests.rs b/sync/src/tasks/tests.rs index bfa9b02e51..8666f73468 100644 --- a/sync/src/tasks/tests.rs +++ b/sync/src/tasks/tests.rs @@ -1177,6 +1177,8 @@ async fn test_sync_block_apply_failed_but_connect_success() -> Result<()> { let (registry_sender, registry_receiver) = async_std::channel::unbounded(); + info!("in test_sync_block_apply_failed_but_connect_success, start tokio runtime for main thread"); + let _handle = timeout_join_handler::spawn(move || { let system = System::with_tokio_rt(|| { tokio::runtime::Builder::new_multi_thread()