We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7799b12 commit b1e046bCopy full SHA for b1e046b
tests/unit/test_connector.py
@@ -16,6 +16,7 @@
16
17
import asyncio
18
import os
19
+import time
20
from typing import Union
21
22
from aiohttp import ClientResponseError
@@ -500,6 +501,7 @@ def test_connect_closed_connector(
500
501
with Connector(credentials=fake_credentials) as connector:
502
connector._client = fake_client
503
connector.close()
504
+ time.sleep(0.1)
505
with pytest.raises(RuntimeError) as exc_info:
506
connector.connect(
507
"test-project:test-region:test-instance",
0 commit comments