From: Paul Luse Date: Thu, 24 Apr 2025 14:30:10 +0000 (-0700) Subject: Update tests.yml X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b532421e747d75223c6f7a065fb643d2d318011c;p=thirdparty%2Fmdadm.git Update tests.yml Signed-off-by: Paul Luse --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ce940108..6f8e2b8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,9 +31,15 @@ jobs: - name: 'Prepare machine' run: | cd .. - vagrant halt + vagrant snapshot restore clean_vm_v42 + echo "FYI vagrant restore command finished with exit code: $?" + sleep 2 vagrant status vagrant up + sleep 2 + vagrant ssh -c "sudo timedatectl set-timezone UTC && \ + sudo systemctl restart chronyd && sudo chronyc -a makestep && sleep 1" + echo "FYI vagrant time command finished with exit code: $?" - name: 'Run tests' id: testing @@ -69,9 +75,7 @@ jobs: runs-on: self-hosted needs: [upstream_tests] steps: - - name: Restore clean VM + - name: Halt VM run: | cd .. - vagrant up - vagrant ssh -c "sudo mdadm -Ss" vagrant halt