diff --git a/zebrad/tests/acceptance.rs b/zebrad/tests/acceptance.rs index 95890d0fc..c1fd951ce 100644 --- a/zebrad/tests/acceptance.rs +++ b/zebrad/tests/acceptance.rs @@ -1287,6 +1287,10 @@ async fn lightwalletd_test_suite() -> Result<()> { fn lightwalletd_integration_test(test_type: LightwalletdTestType) -> Result<()> { zebra_test::init(); + if zebra_test::net::zebra_skip_network_tests() { + return Ok(()); + } + // Skip the test unless the user specifically asked for it // // TODO: pass test_type to zebra_skip_lightwalletd_tests() and check for lightwalletd launch in there diff --git a/zebrad/tests/common/lightwalletd/send_transaction_test.rs b/zebrad/tests/common/lightwalletd/send_transaction_test.rs index 7578f9f29..9f01de2cb 100644 --- a/zebrad/tests/common/lightwalletd/send_transaction_test.rs +++ b/zebrad/tests/common/lightwalletd/send_transaction_test.rs @@ -46,6 +46,10 @@ use crate::common::{ pub async fn run() -> Result<()> { zebra_test::init(); + if zebra_test::net::zebra_skip_network_tests() { + return Ok(()); + } + // Skip the test unless the user specifically asked for it if zebra_skip_lightwalletd_tests() { return Ok(());