Skip to content

Conversation

Shtogryn
Copy link
Collaborator

Purpose

Fix failing test on test envs test_preprint_downloads_count and test_preprint_views_count

Summary of Changes

Stabilized flaky tests:

- TestPreprintMetrics::test_preprint_downloads_count

- TestPreprintMetrics::test_preprint_views_count

Reviewer's Actions

git fetch origin pull/286/head:pshtohryn/ENG-8210/fix/preprint-downloads-count-mismatch

Run this test using
pytest tests/test_preprints.py::TestPreprintMetrics::test_preprint_views_count -sv
pytest tests/test_preprints.py::TestPreprintMetrics::test_preprint_downloads_count -sv

Testing Changes Moving Forward

Ticket

https://openscience.atlassian.net/browse/ENG-8210

@Shtogryn Shtogryn changed the title ENG-8210: Stabilize preprint downloads/views count tests by decouplin… ENG-8210: Stabilize preprint downloads/views count tests Jun 17, 2025
@jh27539 jh27539 merged commit 79c5d4c into develop Jun 24, 2025
@jh27539 jh27539 deleted the pshtohryn/ENG-8210/fix/preprint-downloads-count-mismatch branch June 24, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants