Skip to content

[Flaky Test] TestLazyConnection::test_lazy_connection_establishes_on_first_command #4358

Open
@yipin-chen

Description

@yipin-chen

Describe the bug

In the latest FMT, there is an error logged related to Python Lazy client

Expected Behavior

No Error expected.

Current Behavior

https://github.com/valkey-io/valkey-glide/actions/runs/16244906383/job/45866306120

FAILED tests/test_lazy_connection.py::TestLazyConnection::test_lazy_connection_establishes_on_first_command[trio-ProtocolVersion.RESP2-False] - AssertionError: Lazy client (standalone, ProtocolVersion.RESP2) should establish 1 new connection(s) after the first command. Before: 46, After first command: 46
assert 46 == (46 + 1)
FAILED tests/test_lazy_connection.py::TestLazyConnection::test_lazy_connection_establishes_on_first_command[trio-ProtocolVersion.RESP3-False] - AssertionError: Lazy client (standalone, ProtocolVersion.RESP3) should establish 1 new connection(s) after the first command. Before: 46, After first command: 46
assert 46 == (46 + 1)
= 2 failed, 2234 passed, 1466 skipped, 669 deselected, 9 warnings in 2984.25s (0:49:44) =

Reproduction Steps

Run python3 dev.py test --args --async-backend=asyncio --async-backend=trio --html=pytest_report.html --self-contained-html

Possible Solution

No response

Additional Information/Context

No response

Client version used

Python 3.9.13

Engine type and version

6.2

OS

aarch64-apple-darwin

Language

Python

Language Version

Python 3.9.13

Cluster information

No response

Logs

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions