Skip to content

Commit

Permalink
system_test.py: Add debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Knöppler <[email protected]>
  • Loading branch information
theCalcaholic committed Oct 31, 2023
1 parent cb962d0 commit 66a9b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/vm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
path: .ssh
- name: Test postinstall VM
run: |
set -e
set -ex
echo "Setup ssh"
chmod 0600 ./.ssh/automation_ssh_key
eval "$(ssh-agent)"
Expand All @@ -145,9 +145,7 @@ jobs:
setup-ssh-port-forwarding "$SERVER_ADDRESS"
echo "Run integration tests"
set -x
ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" "root@${SERVER_ADDRESS}" cat /usr/local/etc/instance.cfg
set +x
test-ncp-instance -a -f "$SNAPSHOT_ID" -b "${VERSION}" --systemtest-args "--skip-update-test" "root@${SERVER_ADDRESS}" "localhost" "8443" "9443" || {
echo "Integration tests failed"
Expand Down
1 change: 1 addition & 0 deletions tests/system_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def set_cohorte_id(cohorte_id: int) -> CompletedProcess:
usage()
sys.exit(2)
elif opt == '--skip-update-test':
print("Skipping update test")
skip_update_test = True
elif opt == '--no-ping':
skip_ping = True
Expand Down

0 comments on commit 66a9b6b

Please sign in to comment.