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 @@ -467,7 +467,6 @@ def close(self) -> None:
467
467
self ._loop .call_soon_threadsafe (self ._loop .stop )
468
468
# wait for thread to finish closing (i.e. loop to stop)
469
469
self ._thread .join ()
470
- self ._closed = True
471
470
472
471
async def close_async (self ) -> None :
473
472
"""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(
501
501
with Connector (credentials = fake_credentials ) as connector :
502
502
connector ._client = fake_client
503
503
connector .close ()
504
- time .sleep (0 .1 )
504
+ time .sleep (3 .1 )
505
505
with pytest .raises (RuntimeError ) as exc_info :
506
506
connector .connect (
507
507
"test-project:test-region:test-instance" ,
You can’t perform that action at this time.
0 commit comments