trustedcoin: add regtest support, reenable test
This commit is contained in:
parent
aa418869b3
commit
ac59f93e63
4 changed files with 20 additions and 7 deletions
|
|
@ -295,11 +295,7 @@ buildable=(
|
|||
clightning-replication
|
||||
lndPruned
|
||||
wireguard-lndconnect
|
||||
|
||||
# TODO-EXTERNAL:
|
||||
# Reenable when this has been fixed:
|
||||
# https://github.com/nbd-wtf/trustedcoin/issues/21
|
||||
# trustedcoin
|
||||
trustedcoin
|
||||
)
|
||||
buildable() { buildTests buildable "$@"; }
|
||||
|
||||
|
|
|
|||
|
|
@ -319,6 +319,8 @@ let
|
|||
};
|
||||
|
||||
trustedcoin = {
|
||||
imports = [ scenarios.regtestBase ];
|
||||
|
||||
services.clightning = {
|
||||
enable = true;
|
||||
plugins.trustedcoin.enable = true;
|
||||
|
|
|
|||
|
|
@ -435,6 +435,11 @@ def _():
|
|||
machine.wait_for_unit("clightning")
|
||||
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+bitcoind RPC working")
|
||||
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+estimatefees error: none of the esploras returned usable responses")
|
||||
if "regtest" in enabled_tests:
|
||||
num_blocks = test_data["num_blocks"]
|
||||
expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+tip: {num_blocks}")
|
||||
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+returning block")
|
||||
|
||||
|
||||
if "netns-isolation" in enabled_tests:
|
||||
def ip(name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue