Skip to content

Commit

Permalink
Merge pull request fedimint#6029 from m1sterc001guy/reenable_inter_fe…
Browse files Browse the repository at this point in the history
…deration

chore: reenable LNv2 inter federation tests in parallel
  • Loading branch information
dpc authored Sep 17, 2024
2 parents 7f77d9c + d23c7b4 commit 34de59c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/fedimint-lnv2-tests/src/bin/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ async fn main() -> anyhow::Result<()> {

test_self_payments_success(&dev_fed).await?;
test_lightning_payments(&dev_fed).await?;

// TODO: Inter-federation tests have been deactivated from CI
// due to flakiness with CLN: https://github.com/fedimint/fedimint/issues/5944
}
TestOpts::GatewayRegistration => {
test_gateway_registration(&dev_fed).await?;
Expand Down
11 changes: 11 additions & 0 deletions scripts/tests/lnv2-inter-federation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Runs a test to determine the latency of certain user actions

set -euo pipefail
export RUST_LOG="${RUST_LOG:-info}"

source scripts/_common.sh
build_workspace
add_target_dir_to_path

tests inter-federation
6 changes: 6 additions & 0 deletions scripts/tests/test-ci-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ function lnv2_module() {
}
export -f lnv2_module

function lnv2_inter_federation() {
fm-run-test "${FUNCNAME[0]}" env FM_OFFLINE_NODES=0 ./scripts/tests/lnv2-inter-federation.sh
}
export -f lnv2_inter_federation

function mint_client_sanity() {
fm-run-test "${FUNCNAME[0]}" env FM_OFFLINE_NODES=0 ./scripts/tests/mint-client-sanity.sh
}
Expand Down Expand Up @@ -303,6 +308,7 @@ tests_to_run_in_parallel+=(
"gateway_config_test_lnd"
"gateway_restore_test"
"lnv2_module"
"lnv2_inter_federation"
"devimint_cli_test"
"devimint_cli_test_single"
"load_test_tool_test"
Expand Down

0 comments on commit 34de59c

Please sign in to comment.