We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69cb197 commit 13681f8Copy full SHA for 13681f8
tests/test_connector.py
@@ -1232,9 +1232,9 @@ def test_not_expired_ttl(self):
1232
1233
@asyncio.coroutine
1234
def test_expired_ttl(self, loop):
1235
- dns_cache_table = _DNSCacheTable(ttl=0.1)
+ dns_cache_table = _DNSCacheTable(ttl=0.01)
1236
dns_cache_table.add('localhost', ['127.0.0.1'])
1237
- yield from asyncio.sleep(0.1, loop=loop)
+ yield from asyncio.sleep(0.01, loop=loop)
1238
assert dns_cache_table.expired('localhost')
1239
1240
def test_next_addrs(self, dns_cache_table):
0 commit comments