mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
test(pgbouncer): skip flaky test_a_replacement_that_never_listens_is_replaced_again
Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
This commit is contained in:
parent
8a4fae0e17
commit
99f2741cf5
1 changed files with 6 additions and 0 deletions
|
|
@ -401,6 +401,12 @@ class TestPgBouncerProcess:
|
|||
pooler.stop()
|
||||
assert _wait_until(lambda: not _listening(port))
|
||||
|
||||
@pytest.mark.skip(
|
||||
reason="flaky under CI load: ready_timeout_seconds=0.3 is too tight for the initial spawn on shared runners "
|
||||
"(see e.g. https://github.com/BerriAI/litellm/actions/runs/34546848959). PgBouncerProcess uses one ready "
|
||||
"timeout for both the initial start and every restart, so the test can't loosen it just for the initial "
|
||||
"spawn without changing what it exercises"
|
||||
)
|
||||
def test_a_replacement_that_never_listens_is_replaced_again(self, tmp_path: Path, caplog: pytest.LogCaptureFixture):
|
||||
port: Final = _free_port()
|
||||
port_file: Final = tmp_path / "port"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue