diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index f1564812cd..78efa62344 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -92,23 +92,6 @@ jobs: platform: ubuntu-latest set-safe-peers: false - - name: Check we're warned about using default genesis - run: | - git log -1 --oneline - ls -la $RESTART_TEST_NODE_DATA_PATH - cat $RESTART_TEST_NODE_DATA_PATH/safenode.log - - name: Check we're warned about using default genesis - run: | - git log -1 --oneline - ls -la $BOOTSTRAP_NODE_DATA_PATH - cat $BOOTSTRAP_NODE_DATA_PATH/safenode.log - - name: Check we're warned about using default genesis - run: | - git log -1 --oneline - ls -la $NODE_DATA_PATH - cat $NODE_DATA_PATH/safenode.log - - shell: bash # In this case we did *not* want SAFE_PEERS to be set to another value by starting the testnet - name: Check SAFE_PEERS was not changed shell: bash @@ -156,6 +139,25 @@ jobs: SN_LOG: "all" timeout-minutes: 25 + # this check needs to be after some transfer activity + - name: Check we're warned about using default genesis + run: | + git log -1 --oneline + ls -la $RESTART_TEST_NODE_DATA_PATH + cat $RESTART_TEST_NODE_DATA_PATH/safenode.log + - name: Check we're warned about using default genesis + run: | + git log -1 --oneline + ls -la $BOOTSTRAP_NODE_DATA_PATH + cat $BOOTSTRAP_NODE_DATA_PATH/safenode.log + + - name: Check we're warned about using default genesis + run: | + git log -1 --oneline + ls -la $NODE_DATA_PATH + rg "USING DEFAULT" "$NODE_DATA_PATH" -u + shell: bash + # Uploading same file using different client shall not incur any payment neither uploads # Note rg will throw an error directly in case of failed to find a matching pattern. - name: Start a different client to upload the same file