Skip to content

Commit 2911920

Browse files
committed
MOAR OUTPUT
1 parent 511b24e commit 2911920

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/vss-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
cd ldk-node
4646
export TEST_VSS_BASE_URL="http://localhost:8080/vss"
4747
RUSTFLAGS="--cfg vss_test" cargo test io::vss_store
48-
RUSTFLAGS="--cfg vss_test" cargo test --test integration_tests_vss -- --nocapture
48+
RUST_BACKTRACE=full RUSTFLAGS="--cfg vss_test" cargo test --test integration_tests_vss -- --nocapture

src/io/vss_store.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ impl KVStoreSync for VssStore {
133133
internal_runtime.block_on(async move {
134134
tokio::time::timeout(VSS_IO_TIMEOUT, fut).await.map_err(|_| {
135135
let msg = "VssStore::read timed out";
136+
eprintln!("{}", msg);
136137
Error::new(ErrorKind::Other, msg)
137138
})
138139
})?
@@ -170,8 +171,9 @@ impl KVStoreSync for VssStore {
170171
// times out.
171172
tokio::task::block_in_place(move || {
172173
internal_runtime.block_on(async move {
173-
tokio::time::timeout(VSS_IO_TIMEOUT, fut).await.map_err(|_| {
174+
tokio::time::timeout(VSS_IO_TIMEOUT, fut).await.map_err(|e| {
174175
let msg = "VssStore::write timed out";
176+
eprintln!("VssStore::write timed out: {:?}", e);
175177
Error::new(ErrorKind::Other, msg)
176178
})
177179
})?
@@ -210,6 +212,7 @@ impl KVStoreSync for VssStore {
210212
internal_runtime.block_on(async move {
211213
tokio::time::timeout(VSS_IO_TIMEOUT, fut).await.map_err(|_| {
212214
let msg = "VssStore::remove timed out";
215+
eprintln!("{}", msg);
213216
Error::new(ErrorKind::Other, msg)
214217
})
215218
})?
@@ -232,6 +235,7 @@ impl KVStoreSync for VssStore {
232235
internal_runtime.block_on(async move {
233236
tokio::time::timeout(VSS_IO_TIMEOUT, fut).await.map_err(|_| {
234237
let msg = "VssStore::list timed out";
238+
eprintln!("{}", msg);
235239
Error::new(ErrorKind::Other, msg)
236240
})
237241
})?

0 commit comments

Comments
 (0)