From f5e446e3ab8799fb9dd87f8745e6f8c4ef4063eb Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Fri, 24 Nov 2023 15:48:41 +0530 Subject: [PATCH] chore(ci): enable routing table test during memcheck --- .github/workflows/memcheck.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index 130dd61a69..c0b8e4e7d4 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -39,8 +39,8 @@ jobs: run: cargo build --release --bins timeout-minutes: 30 - - name: Build churn tests - run: cargo test --release -p sn_node --test data_with_churn --no-run + - name: Build tests + run: cargo test --release -p sn_node --test data_with_churn --test verify_routing_table --no-run timeout-minutes: 30 - name: Start a node instance that does not undergo churn @@ -79,6 +79,10 @@ jobs: shell: bash run: echo "The SAFE_PEERS variable has been set to ${SAFE_PEERS}" + - name: Verify the routing tables of the nodes + run: cargo test --release -p sn_node --test verify_routing_table -- --nocapture + timeout-minutes: 5 + - name: Create and fund a wallet to pay for files storage run: | cargo run --bin faucet --release -- --log-output-dest=data-dir send 5000000 $(cargo run --bin safe --release -- --log-output-dest=data-dir wallet address | tail -n 1) > initial_balance_from_faucet.txt