diff --git a/tests/conftest.py b/tests/conftest.py index 49fd7f5..26c69a4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1135,8 +1135,9 @@ async def all_oauth_tokens( ) # Create tasks for all users with staggered starts (0.5s apart) + scale = 0.5 if "GITHUB_ACTIONS" not in os.environ else 10 tasks = { - username: get_token_with_delay(username, config, idx * 0.5) + username: get_token_with_delay(username, config, idx * scale) for idx, (username, config) in enumerate(test_users_setup.items()) }