Skip to content

Commit f967744

Browse files
committed
test removing extraneous delete
1 parent 26ba67e commit f967744

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/replit_river/client_transport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

src/replit_river/server_transport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 (

tests/river_fixtures/clientserver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)