Skip to content

Feature/prod throttle #285

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

Merged
merged 7 commits into from
Jun 20, 2025
Merged

Feature/prod throttle #285

merged 7 commits into from
Jun 20, 2025

Conversation

jh27539
Copy link
Collaborator

@jh27539 jh27539 commented Jun 13, 2025

Purpose

Reduce API load spikes and avoid false alarms during automated Selenium test runs against production.

Summary of Changes

Add new prod_throttle fixture

Slow down the following tests:

  1. test_navbars.py
  2. test_login.py
  3. test_institutions.py
  4. test_search.py
  5. test_preprints.py::TestBrandedProviders
  6. test_registries.py::TestBrandedRegistriesPages

Reviewer's Actions

git fetch origin pull/285/head:feature/prod_throttle
Run this test on production using the smoke test marker

  • tests/test_navbars.py -sv -m smoke_test
  • tests/test_login.py -sv -m smoke_test
  • tests/test_institutions.py -sv -m smoke_test
  • tests/test_search.py -sv -m smoke_test
  • tests/test_preprints.py::TestBrandedProviders -m smoke_test
  • tests/test_registries.py::TestBrandedRegistriesPages -sv -m smoke_test

Testing Changes Moving Forward

We can make future updates as necessary with the new fixture

Ticket

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

@jh27539 jh27539 merged commit 141281b into develop Jun 20, 2025
@jh27539 jh27539 deleted the feature/prod_throttle branch June 20, 2025 19:57
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