Skip to content

Commit

Permalink
add log for testing test_sync_block_apply_failed_but_connect_success
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Oct 9, 2023
1 parent 33e65bb commit 833cb23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sync/src/tasks/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 833cb23

Please sign in to comment.