Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/usb: Skip the removal tests when the UMockdev version is too old #1556

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

swick
Copy link
Contributor

@swick swick commented Jan 7, 2025

We disabled the test in CI because the tests were failing but we didn't understand why in

06a5e50 ("test: Disable USB removal test in a container")

It turns out that UMockdev simply didn't send the remove event before version 0.18.4. Let's change the skip condition to actually check for the right thing instead of just disabling it in CI. This means that the test will run in CI once ubuntu:latest does have the right version.

@swick swick force-pushed the wip/test-latest-umockdev branch from 1827e0d to 306af18 Compare January 7, 2025 16:20
@hfiguiere
Copy link
Collaborator

This would close #1528

Copy link
Collaborator

@hfiguiere hfiguiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We disabled the test in CI because the tests were failing but we didn't
understand why in

06a5e50 ("test: Disable USB removal test in a container")

It turns out that UMockdev simply didn't send the remove event before
version 0.18.4. Let's change the skip condition to actually check for
the right thing instead of just disabling it in CI. This means that the
test will run in CI once ubuntu:latest does have the right version.

Closes flatpak#1528
@swick swick force-pushed the wip/test-latest-umockdev branch from 306af18 to 881756a Compare January 7, 2025 17:03
@GeorgesStavracas GeorgesStavracas added this pull request to the merge queue Jan 7, 2025
@GeorgesStavracas GeorgesStavracas added this to the 1.20 milestone Jan 7, 2025
Merged via the queue into flatpak:main with commit 6280d08 Jan 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci tests Test suite
Projects
Status: Triaged
Development

Successfully merging this pull request may close these issues.

3 participants