| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
aab897d62e |
TT#14008 websockets test: skip tests if version is not supported
related to #1497 #1549 Change-Id: I2a9922e6758011f220393aa927c992ed2374ee24 |
3 years ago |
|
|
72dad51a10 |
TT#14008 websockets test: expose the real problem when connecting
related to #1497 #1549 > ====================================================================== > ERROR: setUpClass (__main__.TestWSJanus) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/code/t/auto-daemon-tests-websocket.py", line 114, in setUpClass > eventloop.run_until_complete(get_ws(cls, "janus-protocol")) > File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete > return future.result() > File "/code/t/auto-daemon-tests-websocket.py", line 23, in get_ws > cls._ws = await connect( > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 622, in __await_impl__ > transport, protocol = await self._create_connection() > File "/usr/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection > transport, protocol = await self._create_connection_transport( > File "/usr/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport > protocol = protocol_factory() > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 160, in __init__ > super().__init__(**kwargs) > File "/usr/lib/python3/dist-packages/websockets/legacy/protocol.py", line 154, in __init__ > self._drain_lock = asyncio.Lock( > File "/usr/lib/python3.10/asyncio/locks.py", line 78, in __init__ > super().__init__(loop=loop) > File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__ > raise TypeError( > TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary > > ---------------------------------------------------------------------- Change-Id: I3178c54ed7eb40b9cc06769c1f1e237e0d58f966 |
3 years ago |
|
|
5d33a420a6 |
TT#14008 websockets test: update for Python 3.10
* Use an explicitly created global event loop * Await websocket connection closure Relevant to #1497 Change-Id: I600189f5383ca7e5da8b45460508c1ddcddede0b |
4 years ago |
|
|
54ee927773 |
TT#14008 fix websockets test for older python3
Don't use f'' strings and use .group() instead of [] for RE substring matches. Closes #1433 Change-Id: I464c6eb063702c90c2308598927e7db8358703d1 |
4 years ago |
|
|
792b736f10 |
TT#14008 fix test case for older libwebsockets
Change-Id: If8ef0ec2289541d7ebba3fe2c386e02556461bf8 |
4 years ago |
|
|
2130e2f62b |
TT#89352 support Janus control protocol
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181 |
5 years ago |