diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index 1aa21f050b..bf91715df2 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -297,6 +297,9 @@ jobs: run: pgrep safenode | wc -l if: always() + - name: Wait before verifying reward forwarding + run: sleep 300 + - name: Stop the local network and upload logs if: always() uses: maidsafe/sn-local-testnet-action@main @@ -415,14 +418,11 @@ jobs: echo "Total swarm_driver long handling duration is: $total_long_handling ms" echo "Total average swarm_driver long handling duration is: $average_handling_ms ms" - - name: Wait before verifying reward forwarding - run: sleep 120 - - name: Verify reward forwarding using rg shell: bash timeout-minutes: 1 run: | - min_reward_forwarding_times="150" + min_reward_forwarding_times="120" reward_forwarding_count=$(rg "Reward forwarding completed sending spend" $NODE_DATA_PATH -c --stats | \ rg "(\d+) matches" | rg "\d+" -o) echo "Carried out $reward_forwarding_count reward forwardings"