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 75
75
cd ldk-node
76
76
export TEST_VSS_BASE_URL="http://localhost:8080/vss"
77
77
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
79
79
80
80
- name : Cleanup
81
81
run : |
Original file line number Diff line number Diff line change @@ -55,6 +55,15 @@ impl Runtime {
55
55
// to detect the outer context here, and otherwise use whatever was set during
56
56
// initialization.
57
57
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
+ }
58
67
tokio:: task:: block_in_place ( move || handle. block_on ( future) )
59
68
}
60
69
You can’t perform that action at this time.
0 commit comments