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

Make device-required tests independent of tests that don't use a device #37

Merged

Conversation

lucas-akira
Copy link
Collaborator

@lucas-akira lucas-akira commented Dec 4, 2024

Some tests that require a device use data created by previous tests that do not require one. This causes problems when only running device-required tests via the 'requires-device' BATS tag, as the necessary data wouldn't be created in this case.

This commit makes these two types of tests independent of one another.

The AVAL-related pipeline only run tests that require a device, so this PR fixes test errors caused by the problem described above.

Signed-off-by: Lucas Akira Morishita [email protected]

Some tests that require a device use data created by previous tests that
do not require one. This causes problems when only running
device-required tests via the 'requires-device' BATS tag, as the
necessary data wouldn't be created in this case.

This commit makes these two types of tests independent of one another.

Signed-off-by: Lucas Akira Morishita <[email protected]>
@lucasbernardestoradex
Copy link
Contributor

I noticed the pipeline on Gitlab instance passed on AVAL jobs.
LGTM.

Copy link
Contributor

@jsrc27 jsrc27 left a comment

Choose a reason for hiding this comment

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

LGTM

@lucasbernardestoradex
Copy link
Contributor

@rborn-tx @jsrc27 Can we have this merged? I need this changes to work on a ticket!

Copy link
Contributor

@rborn-tx rborn-tx left a comment

Choose a reason for hiding this comment

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

LGTM

@rborn-tx rborn-tx merged commit 4a71a7b into torizon:bullseye Dec 5, 2024
7 checks passed
@lucas-akira lucas-akira deleted the make_device_tests_independent branch December 9, 2024 18:11
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.

4 participants