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

Fix random test failure #31

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Fix random test failure #31

merged 2 commits into from
Jun 22, 2023

Conversation

omar-selo
Copy link
Collaborator

Fixes random test failure due to randint occasionally creating the same artefact and breaking unique constraint. In previous PR, I fixed it for test_retreive_family. But turns out the issue also existed in a different test test_get_artefacts_by_family_name_latest. So it failed again https://github.com/canonical/test_observer/actions/runs/5342333621/jobs/9684048424.

@omar-selo omar-selo requested a review from nadzyah June 22, 2023 07:01
@omar-selo omar-selo merged commit 3037de1 into main Jun 22, 2023
@omar-selo omar-selo deleted the fix-random-test-failure branch June 22, 2023 08:28
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.

2 participants