File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 7575 cd ldk-node
7676 export TEST_VSS_BASE_URL="http://localhost:8080/vss"
7777 RUSTFLAGS="--cfg vss_test" cargo build --verbose --color always
78- RUSTFLAGS="--cfg vss_test" cargo test --test integration_tests_vss
78+ RUSTFLAGS="--cfg vss_test --cfg tokio_unstable " cargo test --test integration_tests_vss -- --nocapture
7979
8080 - name : Cleanup
8181 run : |
Original file line number Diff line number Diff line change @@ -55,6 +55,15 @@ impl Runtime {
5555 // to detect the outer context here, and otherwise use whatever was set during
5656 // initialization.
5757 let handle = tokio:: runtime:: Handle :: try_current ( ) . unwrap_or ( self . handle ( ) ) ;
58+ #[ cfg( tokio_unstable) ]
59+ {
60+ println ! ( "Tokio blocking queue depth: {}" , handle. metrics( ) . blocking_queue_depth( ) ) ;
61+ println ! (
62+ "Tokio num_blocking_threads {} / idle_blocking_threads {}" ,
63+ handle. metrics( ) . num_blocking_threads( ) ,
64+ handle. metrics( ) . num_idle_blocking_threads( )
65+ ) ;
66+ }
5867 tokio:: task:: block_in_place ( move || handle. block_on ( future) )
5968 }
6069
You can’t perform that action at this time.
0 commit comments