Skip to content

Commit

Permalink
debug?
Browse files Browse the repository at this point in the history
  • Loading branch information
legoktm committed Nov 22, 2024
1 parent 1b59c9f commit 85720a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions molecule/testinfra/common/test_release_upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def test_migration_check(host):
contents = json.loads(cmd.stdout)
print(contents)
# The script did not error out
if "error" in contents:
# Run the script manually to get the error message
cmd = host.run("securedrop-noble-migration-check")
print(cmd.stdout)
# We'll fail in the next line after this
assert "error" not in contents
# staging CI jobs don't have enough free space, so just check
# that it returned a value for it
Expand Down

0 comments on commit 85720a7

Please sign in to comment.