Skip to content

Fix heat auth_encryption_key test for juju 3.x#1418

Open
xtrusia wants to merge 1 commit into
openstack-charmers:masterfrom
xtrusia:fix-heat-test500-juju3-exec
Open

Fix heat auth_encryption_key test for juju 3.x#1418
xtrusia wants to merge 1 commit into
openstack-charmers:masterfrom
xtrusia:fix-heat-test500-juju3-exec

Conversation

@xtrusia

@xtrusia xtrusia commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The test_500 helper _run_arbitrary ran 'juju run --timeout s'. Under juju 3.x 'juju run' executes actions and has no --timeout option, so the call fails with "option provided but not defined: --timeout".
Switch to 'juju exec --wait' and parse the juju 3.x '--format json' output, which is a dict keyed by unit with results.stdout instead of a list of {UnitId, Stdout}.

The test_500 helper _run_arbitrary ran 'juju run --timeout <t>s'.
Under juju 3.x 'juju run' executes actions and has no --timeout option, so the call fails with "option provided but not defined: --timeout".
Switch to 'juju exec --wait' and parse the juju 3.x '--format json' output, which is a dict keyed by unit with results.stdout instead of a list of {UnitId, Stdout}.

Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
@xtrusia xtrusia force-pushed the fix-heat-test500-juju3-exec branch from 0a9af7b to 47aec6b Compare July 9, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant