mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
test(team_members): skip flaky test_duplicate_user_addition
Same /team/info 404-after-add_team_member race that already led to
test_add_multiple_members being skipped in dedc4022. Duplicate-prevention
behavior is covered by test_update_team_members_list_duplicate_prevention
in tests/test_litellm/proxy/management_endpoints/test_team_endpoints.py,
so the e2e proxy variant doesn't add coverage.
This commit is contained in:
parent
70d01a6e4c
commit
4051d9a369
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ def test_error_handling(api_client):
|
|||
api_client.get_team_info("invalid-team-id")
|
||||
|
||||
|
||||
@pytest.mark.skip(
|
||||
reason="Flaky in CI: /team/info?team_id=... intermittently returns 404 after add_team_member calls, same race documented for test_add_multiple_members. Duplicate-prevention is covered by test_update_team_members_list_duplicate_prevention in tests/test_litellm/proxy/management_endpoints/test_team_endpoints.py."
|
||||
)
|
||||
def test_duplicate_user_addition(api_client, new_team):
|
||||
"""Test that adding the same user twice is handled appropriately"""
|
||||
# Add user first time
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue