Skip to content

Commit

Permalink
improve variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cstavitsky committed Nov 8, 2023
1 parent c442964 commit 22c7a66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tda/desktop_web/test_frontend_slowdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
def test_frontend_slowdown(desktop_web_driver, endpoints, random, batch_size, backend, sleep_length):

for endpoint in endpoints.react_endpoints:
endpoint_products_join = endpoint + "/products-fes"
sentry_sdk.set_tag("endpoint", endpoint_products_join)
endpoint_frontend_slowdown = endpoint + "/products-fes"
sentry_sdk.set_tag("endpoint", endpoint_frontend_slowdown)

for i in range(batch_size):
# Ensures a different backend endpoint gets picked each time
Expand All @@ -16,7 +16,7 @@ def test_frontend_slowdown(desktop_web_driver, endpoints, random, batch_size, ba
# 'ruby' /products /checkout endpoints not available yet
'backend': backend(exclude=['ruby', 'laravel', 'aspnetcore'])
}
url = endpoint_products_join + '?' + urlencode(query_string)
url = endpoint_frontend_slowdown + '?' + urlencode(query_string)

desktop_web_driver.get(url)
time.sleep(sleep_length() + sleep_length() + 1)
Expand Down

0 comments on commit 22c7a66

Please sign in to comment.