Skip to content

tests: workaround - make the first test to run in snap testing to be a universal test#190

Open
artiepoole wants to merge 1 commit into
mainfrom
artie/test-order-hotfix
Open

tests: workaround - make the first test to run in snap testing to be a universal test#190
artiepoole wants to merge 1 commit into
mainfrom
artie/test-order-hotfix

Conversation

@artiepoole
Copy link
Copy Markdown
Collaborator

@artiepoole artiepoole commented May 11, 2026

workaround for #189 which just (hopefully) makes the tests more stable <- this needs to be fixed robustly.

Just renames test_status_with_device_option to test_status_with_specific_device_option.

This is works since tests are discovered alphabetically. This is necessary because the dfx-mgr test being first means that the attempt to call dfx-mgr-client happens before dfx-mgrd is up and running. There should be a proper way to wait for come-up in dfx-mgr softener

This test name must be alphabetically after the universal test to ensure that the first test doesn't require dfx-mgr to be up and running which takes a few ms.

@artiepoole artiepoole marked this pull request as ready for review May 11, 2026 10:15
@artiepoole artiepoole force-pushed the artie/test-order-hotfix branch from dbd264e to 74b6245 Compare May 11, 2026 10:15
…a universal test

Just renames test_status_with_device_option to test_status_with_specific_device_option.

This is works since tests are discovered alphabetically.
This is necessary because the dfx-mgr test being first means that the attempt to call dfx-mgr-client
happens before dfx-mgrd is up and running. There should be a proper way to wait for come-up
in dfx-mgr softener

This test name must be alphabetically after the universal test to ensure that the first test doesn't
require dfx-mgr to be up and running which takes a few ms.

Signed-off-by: Artie Poole <stuart.poole@canonical.com>
@artiepoole artiepoole force-pushed the artie/test-order-hotfix branch from 74b6245 to 05103b4 Compare May 19, 2026 16:21
@artiepoole artiepoole requested a review from talhaHavadar May 19, 2026 16:22
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