File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
google/cloud/sql/connector Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,6 @@ def close(self) -> None:
468468 self ._loop .call_soon_threadsafe (self ._loop .stop )
469469 # wait for thread to finish closing (i.e. loop to stop)
470470 self ._thread .join ()
471- self ._closed = True
472471
473472 async def close_async (self ) -> None :
474473 """Helper function to cancel the cache's tasks
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ def test_connect_closed_connector(
501501 with Connector (credentials = fake_credentials ) as connector :
502502 connector ._client = fake_client
503503 connector .close ()
504- time .sleep (0 .1 )
504+ time .sleep (3 .1 )
505505 with pytest .raises (RuntimeError ) as exc_info :
506506 connector .connect (
507507 "test-project:test-region:test-instance" ,
You can’t perform that action at this time.
0 commit comments