Skip to content

Commit 61cc223

Browse files
committed
fix failing api failover tests
1 parent 3f3babb commit 61cc223

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/api/test_livekitapi.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ async def _sip_call_error(sip: dict, *, wait: bool = False):
544544
def test_sip_busy():
545545
err = asyncio.run(_sip_call_error({"code": 486, "status": "Busy Here"}))
546546
assert isinstance(err, ServerError)
547-
assert err.code == "resource_exhausted"
547+
assert err.code == "failed_precondition"
548548
assert err.sip_status_code == 486
549549
assert err.sip_status == "Busy Here"
550550
# printable representation makes the failure clear

0 commit comments

Comments
 (0)