We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b9bbe commit deb55e4Copy full SHA for deb55e4
tests/test_asyncio/test_connection.py
@@ -64,6 +64,10 @@ async def test_socket_param_regression(r):
64
65
66
async def test_can_run_concurrent_commands(r):
67
+ if getattr(r, "connection", None) is not None:
68
+ # Concurrent commands are only supported on pooled or cluster connections
69
+ # since there is no synchronization on a single connection.
70
+ pytest.skip("pool only")
71
assert await r.ping() is True
72
assert all(await asyncio.gather(*(r.ping() for _ in range(10))))
73
0 commit comments