File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,6 @@ async def _establish_handshake(
344344 # If the session status is mismatched, we should close the old session
345345 # and let the retry logic to create a new session.
346346 await old_session .close ()
347- await self ._delete_session (old_session )
348347
349348 raise RiverException (
350349 ERROR_HANDSHAKE ,
Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ async def _establish_handshake(
270270 # we have an old session but the session id is different
271271 # just delete the old session
272272 await old_session .close ()
273- await self ._delete_session (old_session )
274273 old_session = None
275274
276275 if not old_session and (
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ async def websocket_uri_factory() -> UriAndMetadata[None]:
6262 logging .debug ("Start closing test client : %s" , "test_client" )
6363 await client .close ()
6464 finally :
65- await asyncio .sleep (1 )
6665 logging .debug ("Start closing test server" )
6766 await server .close ()
6867 # Server should close normally
You can’t perform that action at this time.
0 commit comments