Fix lightwalletd
test hangs by checking process output in dedicated threads
#4820
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
A-rust
Area: Updates to Rust code
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
lightwalletd
any work associated with lightwalletd
Motivation
Sometimes
lightwalletd
hangs, but we make the Zebra integration test pass anyway.When this happens, we update the
lightwalletd
cached state with a small number of blocks, so future tests are slow, or they fail because they don't have enough blocks.Alternative Fixes
Fix
lightwalletd
hangs by giving each child process a dedicated test thread to check logs.OR
When
lightwalletd
hangs, restart it.OR
When
lightwalletd
hangs, don't update the cachedlightwalletd
stateOR
In the Rust test harnesses:
lightwalletd
cached state contains a minimum number of blockslightwalletd
syncThe text was updated successfully, but these errors were encountered: